fix(updatenotification): Fix error handling when fetching applist for server update

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/52406/head
provokateurin 2025-04-23 16:42:35 +07:00 committed by backportbot[bot]
parent 6c8fa2a145
commit 4a23792fc5
1 changed files with 2 additions and 2 deletions

@ -357,10 +357,10 @@ export default {
this.missingAppUpdates = data.ocs.data.missing
this.isListFetched = true
this.appStoreFailed = false
}).catch(({ data }) => {
}).catch(({ response }) => {
this.availableAppUpdates = []
this.missingAppUpdates = []
this.appStoreDisabled = data.ocs.data.appstore_disabled
this.appStoreDisabled = response.data.ocs.data.appstore_disabled
this.isListFetched = true
this.appStoreFailed = true
})