Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
dashboard
Commits
c038fd65
Commit
c038fd65
authored
May 01, 2019
by
jackie / Andrea Ida Malkah Klaura
Browse files
FIX: use v-bind:key for enumerables
parent
7af04699
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/ShowManager.vue
View file @
c038fd65
...
...
@@ -184,7 +184,7 @@
</p>
<p
v-else
>
<ul>
<li
v-for=
"cat in current.categories"
>
{{ cat.category }}
</li>
<li
v-for=
"cat in current.categories"
v-bind:key=
"cat.id"
>
{{ cat.category }}
</li>
</ul>
</p>
</div>
...
...
@@ -201,7 +201,7 @@
</p>
<p
v-else
>
<ul>
<li
v-for=
"topic in current.topics"
>
{{ topic.topic }}
</li>
<li
v-for=
"topic in current.topics"
v-bind:key=
"topic.id"
>
{{ topic.topic }}
</li>
</ul>
</p>
</div>
...
...
@@ -218,7 +218,7 @@
</p>
<p
v-else
>
<ul>
<li
v-for=
"focus in current.musicfocus"
>
{{ focus.focus }}
</li>
<li
v-for=
"focus in current.musicfocus"
v-bind:key=
"focus.id"
>
{{ focus.focus }}
</li>
</ul>
</p>
</div>
...
...
@@ -235,7 +235,7 @@
</p>
<p
v-else
>
<ul>
<li
v-for=
"lang in current.languages"
>
{{ lang.name }}
</li>
<li
v-for=
"lang in current.languages"
v-bind:key=
"lang.id"
>
{{ lang.name }}
</li>
</ul>
</p>
</div>
...
...
@@ -253,7 +253,7 @@
<p
v-else
>
<!-- TODO: make link on name; when user clicks, open modal to edit host -->
<ul>
<li
v-for=
"host in current.hosts"
>
{{ host.name }}
</li>
<li
v-for=
"host in current.hosts"
v-bind:key=
"host.id"
>
{{ host.name }}
</li>
</ul>
</p>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment