mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-19 23:09:31 +08:00
解决通知渠道不选时显示空白项的问题
This commit is contained in:
@@ -96,7 +96,7 @@ async function loadNotificationSettings() {
|
||||
try {
|
||||
const result1: { [key: string]: any } = await api.get('system/setting/MESSAGER')
|
||||
if (result1.success)
|
||||
selectedChannels.value = result1.data?.value?.split(',')
|
||||
selectedChannels.value = result1.data && result1.data.value ? result1.data.value.split(',') : []
|
||||
|
||||
const result2: { [key: string]: any } = await api.get('system/env')
|
||||
if (result2.success) {
|
||||
|
||||
Reference in New Issue
Block a user