diff --git a/src/js/routes.js b/src/js/routes.js
index 1745887..2b5f5d5 100644
--- a/src/js/routes.js
+++ b/src/js/routes.js
@@ -14,7 +14,7 @@ var routes = [
component: RadioPage,
},
{
- path: '/radio/:radioName/:showName',
+ path: '/radio/:radioId/shows/:showId',
component: ShowPage
}],
},
diff --git a/src/pages/Radio.vue b/src/pages/Radio.vue
index 8068b20..197f98f 100644
--- a/src/pages/Radio.vue
+++ b/src/pages/Radio.vue
@@ -6,7 +6,7 @@
-
+
@@ -26,10 +26,10 @@ export default {
},
props: { f7route: Object, f7router: Object },
async mounted () {
+ this.radioId = this.f7route.params.radioName
try {
this.Radio = await radiomanifest.get(this.f7route.params.radioName)
- // this.Radio.schedule.getNowShow(new Date())
- console.error(this.Radio)
+ // console.log('got', this.Radio)
this.loading = false
} catch (e) {
console.error('le cose non vanno mai sempre bene!', e)
diff --git a/src/pages/Show.vue b/src/pages/Show.vue
index 7a43d34..6b747b4 100644
--- a/src/pages/Show.vue
+++ b/src/pages/Show.vue
@@ -1,19 +1,53 @@
-
-
- {{Radio.name}}
- {{Radio.description}}
+
+
+ {{Show.name}}
+ {{Radio.name}}
+
+
+
+
-
\ No newline at end of file
+
+
+