mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix(updatenotification): Fix error handling when fetching applist for server update
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
9bfa1e7bd9
commit
cc17e4c1fe
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
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue