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

Merge branch '324-generic-radios-link' into 'develop'

Resolve "Pages for radios "random", "favourites" and "less listened"  not showing up"

Closes #324

See merge request !274
parents 94306479 ae6d91dd
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