load config on channel save
This commit is contained in:
parent
e183320e13
commit
4d38a74306
@ -129,6 +129,7 @@ async function onSubmitChannel() {
|
||||
|
||||
if (update.status) {
|
||||
indexStore.msgAlert('success', t('config.updateChannelSuccess'), 2)
|
||||
await configStore.getPlayoutConfig()
|
||||
} else {
|
||||
indexStore.msgAlert('error', t('config.updateChannelFailed'), 2)
|
||||
}
|
||||
|
@ -97,9 +97,7 @@ defineProps({
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
if (!mediaStore.folderTree.parent) {
|
||||
mediaStore.getTree('')
|
||||
}
|
||||
mediaStore.getTree('')
|
||||
})
|
||||
|
||||
watch([id], () => {
|
||||
|
@ -66,8 +66,8 @@ const severityLevels: { [key: string]: number } = {
|
||||
ERROR: 4,
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
getLog()
|
||||
onMounted(async () => {
|
||||
await getLog()
|
||||
})
|
||||
|
||||
watch([listDate, id], () => {
|
||||
|
@ -84,6 +84,9 @@ export const useConfig = defineStore('config', {
|
||||
extra_extensions: '',
|
||||
name: 'Channel 1',
|
||||
preview_url: '',
|
||||
hls_path: '',
|
||||
playlist_path: '',
|
||||
storage_path: '',
|
||||
uts_offset: 0,
|
||||
},
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user