mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-10 01:16:55 +02:00
Remove EditSeries modal from BookShelfToolbar
This commit is contained in:
parent
0f338a5961
commit
109c996c24
@ -63,8 +63,6 @@
|
|||||||
</ui-tooltip>
|
</ui-tooltip>
|
||||||
|
|
||||||
<ui-context-menu-dropdown v-if="!isBatchSelecting && seriesContextMenuItems.length" :items="seriesContextMenuItems" class="mx-px" @action="seriesContextMenuAction" />
|
<ui-context-menu-dropdown v-if="!isBatchSelecting && seriesContextMenuItems.length" :items="seriesContextMenuItems" class="mx-px" @action="seriesContextMenuAction" />
|
||||||
|
|
||||||
<modals-edit-series-modal v-model="showEditSeriesModal" :series="this.selectedSeries" />
|
|
||||||
</template>
|
</template>
|
||||||
<!-- library & collections page -->
|
<!-- library & collections page -->
|
||||||
<template v-else-if="page !== 'search' && page !== 'podcast-search' && page !== 'recent-episodes' && !isHome && !isAuthorsPage">
|
<template v-else-if="page !== 'search' && page !== 'podcast-search' && page !== 'recent-episodes' && !isHome && !isAuthorsPage">
|
||||||
@ -133,8 +131,7 @@ export default {
|
|||||||
totalEntities: 0,
|
totalEntities: 0,
|
||||||
processingSeries: false,
|
processingSeries: false,
|
||||||
processingIssues: false,
|
processingIssues: false,
|
||||||
processingAuthors: false,
|
processingAuthors: false
|
||||||
showEditSeriesModal: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -142,10 +139,6 @@ export default {
|
|||||||
if (!this.selectedSeries) return []
|
if (!this.selectedSeries) return []
|
||||||
|
|
||||||
const items = [
|
const items = [
|
||||||
{
|
|
||||||
text: this.$strings.LabelEditSeries,
|
|
||||||
action: 'edit-series'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: this.isSeriesFinished ? this.$strings.MessageMarkAsNotFinished : this.$strings.MessageMarkAsFinished,
|
text: this.isSeriesFinished ? this.$strings.MessageMarkAsNotFinished : this.$strings.MessageMarkAsFinished,
|
||||||
action: 'mark-series-finished'
|
action: 'mark-series-finished'
|
||||||
@ -447,9 +440,6 @@ export default {
|
|||||||
exportOPML() {
|
exportOPML() {
|
||||||
this.$downloadFile(`/api/libraries/${this.currentLibraryId}/opml?token=${this.$store.getters['user/getToken']}`, null, true)
|
this.$downloadFile(`/api/libraries/${this.currentLibraryId}/opml?token=${this.$store.getters['user/getToken']}`, null, true)
|
||||||
},
|
},
|
||||||
showEditSeries() {
|
|
||||||
this.showEditSeriesModal = !this.showEditSeriesModal
|
|
||||||
},
|
|
||||||
seriesContextMenuAction({ action }) {
|
seriesContextMenuAction({ action }) {
|
||||||
if (action === 'open-rss-feed') {
|
if (action === 'open-rss-feed') {
|
||||||
this.showOpenSeriesRSSFeed()
|
this.showOpenSeriesRSSFeed()
|
||||||
@ -465,8 +455,6 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.markSeriesFinished()
|
this.markSeriesFinished()
|
||||||
} else if ((action = 'edit-series')) {
|
|
||||||
this.showEditSeries()
|
|
||||||
} else if (this.handleSubtitlesAction(action)) {
|
} else if (this.handleSubtitlesAction(action)) {
|
||||||
return
|
return
|
||||||
} else if (this.handleCollapseSubSeriesAction(action)) {
|
} else if (this.handleCollapseSubSeriesAction(action)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user