mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-14 07:49:37 +00:00
Merge RSS feed modals into a universal one
This commit is contained in:
parent
ca6765c8e7
commit
a364fe5031
6 changed files with 46 additions and 193 deletions
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue