|
@@ -12,6 +12,8 @@
|
|
class="manage-station-modal"
|
|
class="manage-station-modal"
|
|
:size="isOwnerOrAdmin() || sector !== 'home' ? 'wide' : null"
|
|
:size="isOwnerOrAdmin() || sector !== 'home' ? 'wide' : null"
|
|
:split="isOwnerOrAdmin() || sector !== 'home'"
|
|
:split="isOwnerOrAdmin() || sector !== 'home'"
|
|
|
|
+ :intercept-close="true"
|
|
|
|
+ @close="onCloseModal"
|
|
>
|
|
>
|
|
<template #body v-if="station && station._id">
|
|
<template #body v-if="station && station._id">
|
|
<div class="left-section">
|
|
<div class="left-section">
|
|
@@ -69,6 +71,7 @@
|
|
class="tab"
|
|
class="tab"
|
|
v-show="tab === 'settings'"
|
|
v-show="tab === 'settings'"
|
|
:modal-uuid="modalUuid"
|
|
:modal-uuid="modalUuid"
|
|
|
|
+ ref="settingsTabComponent"
|
|
/>
|
|
/>
|
|
<playlist-tab-base
|
|
<playlist-tab-base
|
|
v-if="isOwnerOrAdmin() && station.autofill.enabled"
|
|
v-if="isOwnerOrAdmin() && station.autofill.enabled"
|
|
@@ -555,6 +558,9 @@ export default {
|
|
}
|
|
}
|
|
);
|
|
);
|
|
},
|
|
},
|
|
|
|
+ onCloseModal() {
|
|
|
|
+ this.$refs.settingsTabComponent.onCloseModal();
|
|
|
|
+ },
|
|
...mapModalActions("modals/manageStation/MODAL_UUID", [
|
|
...mapModalActions("modals/manageStation/MODAL_UUID", [
|
|
"editStation",
|
|
"editStation",
|
|
"setAutofillPlaylists",
|
|
"setAutofillPlaylists",
|