diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/App.vue | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/App.vue b/src/App.vue index d97df0c..dc473ca 100644 --- a/src/App.vue +++ b/src/App.vue | |||
@@ -65,8 +65,8 @@ | |||
65 | {{ group.name }} | 65 | {{ group.name }} |
66 | </h2> | 66 | </h2> |
67 | <Service | 67 | <Service |
68 | v-for="item in group.items" | 68 | v-for="(item, index) in group.items" |
69 | :key="item.name" | 69 | :key="index" |
70 | v-bind:item="item" | 70 | v-bind:item="item" |
71 | :class="['column', `is-${12 / config.columns}`]" | 71 | :class="['column', `is-${12 / config.columns}`]" |
72 | /> | 72 | /> |
@@ -88,9 +88,9 @@ | |||
88 | {{ group.name }} | 88 | {{ group.name }} |
89 | </h2> | 89 | </h2> |
90 | <Service | 90 | <Service |
91 | v-for="item in group.items" | 91 | v-for="(item, index) in group.items" |
92 | :key="index" | ||
92 | v-bind:item="item" | 93 | v-bind:item="item" |
93 | :key="item.url" | ||
94 | /> | 94 | /> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
@@ -199,6 +199,7 @@ export default { | |||
199 | matchesFilter: function (item) { | 199 | matchesFilter: function (item) { |
200 | return ( | 200 | return ( |
201 | item.name.toLowerCase().includes(this.filter) || | 201 | item.name.toLowerCase().includes(this.filter) || |
202 | (item.subtitle && item.subtitle.toLowerCase().includes(this.filter)) || | ||
202 | (item.tag && item.tag.toLowerCase().includes(this.filter)) | 203 | (item.tag && item.tag.toLowerCase().includes(this.filter)) |
203 | ); | 204 | ); |
204 | }, | 205 | }, |