mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-30 21:00:43 +08:00
fix bug
This commit is contained in:
@@ -101,7 +101,7 @@ async function saveNotificationSetting() {
|
||||
async function loadNotificationSwitchs() {
|
||||
try {
|
||||
const result: { [key: string]: any } = await api.get('system/setting/NotificationSwitchs')
|
||||
notificationSwitchs.value = result.data?.value ?? []
|
||||
if (result.data?.value && result.data?.value.length > 0) notificationSwitchs.value = result.data?.value
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user