Skip to content
Snippets Groups Projects
Verified Commit ae6d91dd authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fox #324: Remove link to generic radios, since they don't have detail pages

parent e068f4c1
No related branches found
No related tags found
No related merge requests found
Remove link to generic radios, since they don't have detail pages (#324)
......@@ -2,9 +2,12 @@
<div class="ui card">
<div class="content">
<div class="header">
<router-link class="discrete link" :to="{name: 'library.radios.detail', params: {id: radio.id}}">
<router-link v-if="radio.id" class="discrete link" :to="{name: 'library.radios.detail', params: {id: radio.id}}">
{{ radio.name }}
</router-link>
<template v-else>
{{ radio.name }}
</template>
</div>
<div class="description">
{{ radio.description }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment