mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-09 22:32:52 +02:00
Merge RSS feed modals into a universal one
This commit is contained in:
@@ -8,9 +8,11 @@ export const state = () => ({
|
||||
showEditPlaylistModal: false,
|
||||
showEditPodcastEpisode: false,
|
||||
showViewPodcastEpisodeModal: false,
|
||||
showRSSFeedOpenCloseModal: false,
|
||||
showConfirmPrompt: false,
|
||||
confirmPromptOptions: null,
|
||||
showEditAuthorModal: false,
|
||||
rssFeedEntity: null,
|
||||
selectedEpisode: null,
|
||||
selectedPlaylistItems: null,
|
||||
selectedPlaylist: null,
|
||||
@@ -99,6 +101,13 @@ export const mutations = {
|
||||
setShowViewPodcastEpisodeModal(state, val) {
|
||||
state.showViewPodcastEpisodeModal = val
|
||||
},
|
||||
setShowRSSFeedOpenCloseModal(state, val) {
|
||||
state.showRSSFeedOpenCloseModal = val
|
||||
},
|
||||
setRSSFeedOpenCloseModal(state, entity) {
|
||||
state.rssFeedEntity = entity
|
||||
state.showRSSFeedOpenCloseModal = true
|
||||
},
|
||||
setShowConfirmPrompt(state, val) {
|
||||
state.showConfirmPrompt = val
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user