Skip to content

Commit

Permalink
ui: convert supported_hardware to array before joining as str
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavosbarreto committed Mar 23, 2020
1 parent 965c257 commit 0243dc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/components/PackageDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<tr>
<td>{{ pkg.uid }}</td>
<td>{{ pkg.version }}</td>
<td>{{ pkg.supported_hardware.join(', ') }}</td>
<td>{{ [pkg.supported_hardware].join(', ') }}</td>
</tr>
</tbody>
</table>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/PackageList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<tr v-for="pkg in packages" :key="pkg.id" @click="$router.push(`/packages/${pkg.uid}`)">
<td>{{ pkg.uid }}</td>
<td>{{ pkg.version }}</td>
<td>{{ pkg.supported_hardware.join(', ') }}</td>
<td>{{ [pkg.supported_hardware].join(', ') }}</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 0243dc7

Please sign in to comment.