From 7145db33692c3d0bd474ef953005c1a26eb0cd9a Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Tue, 1 Dec 2020 12:07:48 +0000 Subject: [PATCH] [web-src] recently added - add modal play/add/add next for sections --- web-src/src/pages/PageBrowseRecentlyAdded.vue | 42 +++++++++++++++++-- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/web-src/src/pages/PageBrowseRecentlyAdded.vue b/web-src/src/pages/PageBrowseRecentlyAdded.vue index bc43b838..e7c1d32f 100644 --- a/web-src/src/pages/PageBrowseRecentlyAdded.vue +++ b/web-src/src/pages/PageBrowseRecentlyAdded.vue @@ -14,8 +14,16 @@

Today

{{ recently_added_today.items.length }} albums

+ @@ -24,8 +32,16 @@

This Week

{{ recently_added_week.items.length }} albums

+ @@ -34,8 +50,16 @@

This Month

{{ recently_added_month.items.length }} albums

+ @@ -44,8 +68,16 @@

Older

{{ recently_added_older.items.length }} albums

+ @@ -56,6 +88,7 @@ import { LoadDataBeforeEnterMixin } from './mixin' import ContentWithHeading from '@/templates/ContentWithHeading' import TabsMusic from '@/components/TabsMusic' import ListAlbums from '@/components/ListAlbums' +import ModalDialogAlbums from '@/components/ModalDialogAlbums' import webapi from '@/webapi' const browseData = { @@ -75,16 +108,19 @@ const browseData = { export default { name: 'PageBrowseType', mixins: [LoadDataBeforeEnterMixin(browseData)], - components: { ContentWithHeading, TabsMusic, ListAlbums }, - + components: { ContentWithHeading, TabsMusic, ListAlbums, ModalDialogAlbums }, data () { return { recently_added_today: { items: [] }, recently_added_week: { items: [] }, recently_added_month: { items: [] }, recently_added_older: { items: [] }, + limit: 100, - limit: 100 + show_modal_today: false, + show_modal_week: false, + show_modal_month: false, + show_modal_older: false } },