Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mgramin committed Jun 2, 2019
1 parent a462e13 commit cd3c9ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/malewicz/src/components/ObjectsTablePanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<tr>
<th scope="row">#</th>
<th v-for="met in defaultMeta" data-toggle="tooltip" data-placement="left"
v-bind:title="met.properties.description" :key="met.properties.key" v-on:click="setSort(met.properties.key)">{{met.properties.label}}
v-bind:title="met.properties.description" :key="met.properties.key" v-on:click="setSort(met.properties.key)">{{met.properties.label || met.name}}
</th>
</tr>
</thead>
Expand Down Expand Up @@ -132,7 +132,7 @@ export default {
},
computed: {
defaultMeta: function () {
return this.meta.metadata.filter(function (v) { return v.properties.visible })
return this.meta.metadata.filter(function (v) { return v.properties.visible || true })
},
count () {
return this.$store.getters.preparedTypeUri
Expand Down
5 changes: 3 additions & 2 deletions src/main/malewicz/src/components/TypesListPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
<div>
<div class="list-group">
<li class="list-group-item list-group-item-primary">Objects:</li>
<a v-for="type in types"
class="list-group-item"
<span v-for="type in types" data-toggle="tooltip" data-placement="left" v-bind:title="type.properties.description" >
<a class="list-group-item"
v-bind:class="{ active: isActive(type) }"
id="v-pills-home-tab" data-toggle="pill" href="#v-pills-home" role="tab"
aria-controls="v-pills-home" aria-selected="true"
v-on:click="setType(type.name)"
><i class="fa fa-table fa-fw" aria-hidden="true"></i>&nbsp; {{ type.properties.title || type.name }}</a>
</span>
</div>
</div>
</template>
Expand Down

0 comments on commit cd3c9ac

Please sign in to comment.