diff --git a/web-src/src/components/ListAlbums.vue b/web-src/src/components/ListAlbums.vue
index 7a3068db..164fbd56 100644
--- a/web-src/src/components/ListAlbums.vue
+++ b/web-src/src/components/ListAlbums.vue
@@ -48,12 +48,11 @@
@play-count-changed="play_count_changed()"
/>
@@ -99,6 +98,20 @@ export default {
},
computed: {
+ actions() {
+ return [
+ {
+ label: this.$t('page.podcast.cancel'),
+ event: 'cancel',
+ icon: 'cancel'
+ },
+ {
+ label: this.$t('page.podcast.remove'),
+ event: 'remove',
+ icon: 'delete'
+ }
+ ]
+ },
media_kind_resolved() {
return this.media_kind || this.selected_item.media_kind
}
diff --git a/web-src/src/components/ModalDialogAction.vue b/web-src/src/components/ModalDialogAction.vue
index 35d1eb3e..a0f990a9 100644
--- a/web-src/src/components/ModalDialogAction.vue
+++ b/web-src/src/components/ModalDialogAction.vue
@@ -1,21 +1,19 @@
-
+
-
-
-
@@ -28,13 +26,10 @@ export default {
name: 'ModalDialogAction',
components: { ModalDialog },
props: {
- close_action: { default: '', type: String },
- delete_action: { default: '', type: String },
- ok_action: { default: '', type: String },
+ actions: { type: Array, required: true },
show: Boolean,
- title: { required: true, type: String }
+ title: { default: '', type: String }
},
- emits: ['delete', 'close', 'ok'],
watch: {
show() {
const { classList } = document.querySelector('html')
diff --git a/web-src/src/components/ModalDialogAddRss.vue b/web-src/src/components/ModalDialogAddRss.vue
index 9685c115..3a87d8cd 100644
--- a/web-src/src/components/ModalDialogAddRss.vue
+++ b/web-src/src/components/ModalDialogAddRss.vue
@@ -1,6 +1,12 @@
-
-
+
+
-
-
-
-
-
-
-
-
+