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

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/52374/head
provokateurin 6 months ago
parent 9bfa1e7bd9
commit cc17e4c1fe
No known key found for this signature in database
  1. 4
      apps/updatenotification/src/components/UpdateNotification.vue

@ -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
})

Loading…
Cancel
Save