Skip to content

Commit

Permalink
Use appropriate keys for plugin list iteration.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Jan 15, 2019
1 parent f349e5f commit f576cd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/galaxy/scripts/components/PluginList.vue
Expand Up @@ -10,7 +10,7 @@
type="text"
v-model="search"
/>
<div v-for="plugin in plugins">
<div v-for="plugin in plugins" :key="plugin.name">
<table v-if="match(plugin)">
<tr class="ui-thumbnails-item" @click="select(plugin)">
<td>
Expand All @@ -29,7 +29,7 @@
<div class="font-weight-bold text-dark">Select a dataset to visualize:</div>
<div class="ui-select">
<select class="select" v-model="selected">
<option v-for="file in hdas" :value="file.id">{{ file.name }}</option>
<option v-for="file in hdas" :key="file.id" :value="file.id">{{ file.name }}</option>
</select>
<div class="icon-dropdown fa fa-caret-down" />
</div>
Expand Down

0 comments on commit f576cd5

Please sign in to comment.