Skip to content

Commit cd3c9ac

Browse files
committed
1 parent a462e13 commit cd3c9ac

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/main/malewicz/src/components/ObjectsTablePanel.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<tr>
5353
<th scope="row">#</th>
5454
<th v-for="met in defaultMeta" data-toggle="tooltip" data-placement="left"
55-
v-bind:title="met.properties.description" :key="met.properties.key" v-on:click="setSort(met.properties.key)">{{met.properties.label}}
55+
v-bind:title="met.properties.description" :key="met.properties.key" v-on:click="setSort(met.properties.key)">{{met.properties.label || met.name}}
5656
</th>
5757
</tr>
5858
</thead>
@@ -132,7 +132,7 @@ export default {
132132
},
133133
computed: {
134134
defaultMeta: function () {
135-
return this.meta.metadata.filter(function (v) { return v.properties.visible })
135+
return this.meta.metadata.filter(function (v) { return v.properties.visible || true })
136136
},
137137
count () {
138138
return this.$store.getters.preparedTypeUri

src/main/malewicz/src/components/TypesListPanel.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
<div>
33
<div class="list-group">
44
<li class="list-group-item list-group-item-primary">Objects:</li>
5-
<a v-for="type in types"
6-
class="list-group-item"
5+
<span v-for="type in types" data-toggle="tooltip" data-placement="left" v-bind:title="type.properties.description" >
6+
<a class="list-group-item"
77
v-bind:class="{ active: isActive(type) }"
88
id="v-pills-home-tab" data-toggle="pill" href="#v-pills-home" role="tab"
99
aria-controls="v-pills-home" aria-selected="true"
1010
v-on:click="setType(type.name)"
1111
><i class="fa fa-table fa-fw" aria-hidden="true"></i>&nbsp; {{ type.properties.title || type.name }}</a>
12+
</span>
1213
</div>
1314
</div>
1415
</template>

0 commit comments

Comments
 (0)