diff --git a/web-src/src/App.vue b/web-src/src/App.vue index a4f4b668..d98c4ec9 100644 --- a/web-src/src/App.vue +++ b/web-src/src/App.vue @@ -7,6 +7,9 @@ +
', data () { @@ -53,6 +57,14 @@ export default { set (value) { this.$store.commit(types.SHOW_PLAYER_MENU, value) } + }, + show_update_dialog: { + get () { + return this.$store.state.show_update_dialog + }, + set (value) { + this.$store.commit(types.SHOW_UPDATE_DIALOG, value) + } } }, @@ -181,6 +193,9 @@ export default { webapi.library_count('media_kind is podcast').then(({ data }) => { this.$store.commit(types.UPDATE_LIBRARY_PODCASTS_COUNT, data) }) + webapi.library_count('scan_kind is rss').then(({ data }) => { + this.$store.commit(types.UPDATE_LIBRARY_RSS_COUNT, data) + }) }, update_outputs: function () { diff --git a/web-src/src/components/ModalDialogUpdate.vue b/web-src/src/components/ModalDialogUpdate.vue new file mode 100644 index 00000000..8d2d0eba --- /dev/null +++ b/web-src/src/components/ModalDialogUpdate.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/web-src/src/components/NavbarTop.vue b/web-src/src/components/NavbarTop.vue index 1a1c87d8..6a573386 100644 --- a/web-src/src/components/NavbarTop.vue +++ b/web-src/src/components/NavbarTop.vue @@ -61,7 +61,7 @@
Settings - + Update Library About @@ -72,29 +72,6 @@
- - - -
@@ -103,19 +80,15 @@