From 46b105fe4d634e1649937f078dc79fe4425cc954 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Mon, 26 Oct 2020 15:51:22 +0100 Subject: [PATCH] change recent menu entry to new --- appinfo/routes.php | 2 +- src/components/Main.vue | 2 +- src/components/Navigation.vue | 4 ++-- src/components/Player.vue | 8 ++++++-- src/router.js | 4 ++-- src/store.js | 13 ++++++++++++- 6 files changed, 24 insertions(+), 9 deletions(-) diff --git a/appinfo/routes.php b/appinfo/routes.php index 3292707..5173a98 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -29,7 +29,7 @@ return [ 'routes' => [ ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'], ['name' => 'page#index', 'url' => '/top', 'verb' => 'GET', 'postfix' => 'top'], - ['name' => 'page#index', 'url' => '/recent', 'verb' => 'GET', 'postfix' => 'recent'], + ['name' => 'page#index', 'url' => '/new', 'verb' => 'GET', 'postfix' => 'new'], ['name' => 'page#index', 'url' => '/favorites', 'verb' => 'GET', 'postfix' => 'favorites'], ['name' => 'page#index', 'url' => '/categories', 'verb' => 'GET', 'postfix' => 'categories'], ['name' => 'radio_api#preflighted_cors', 'url' => '/api/0.1/{path}', diff --git a/src/components/Main.vue b/src/components/Main.vue index 1c65b46..ffc5504 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -79,7 +79,7 @@ export default { case 'TOP': this.loadStations() break - case 'RECENT': + case 'NEW': this.loadStations() break case 'FAVORITES': diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue index ec36e68..de1d234 100644 --- a/src/components/Navigation.vue +++ b/src/components/Navigation.vue @@ -6,9 +6,9 @@ icon="icon-category-dashboard" :title="t('radio', 'Top')" /> + :title="t('radio', 'New')" />