mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(appstore): fix reference to non-existing forceEnableApp function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
0258167877
commit
15e381f8cb
2 changed files with 2 additions and 2 deletions
|
|
@ -23,6 +23,6 @@ export const actionForceEnable: AppAction = {
|
|||
},
|
||||
async callback(app: IAppstoreApp | IAppstoreExApp) {
|
||||
const store = useAppsStore()
|
||||
await store.forceEnableApp(app.id)
|
||||
await store.enableApp(app.id, true)
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ async function onSuiteChanged(newSuiteId: string | null, oldSuiteId: string | nu
|
|||
})
|
||||
|
||||
if (result) {
|
||||
await store.forceEnableApp(suite.appId)
|
||||
await store.enableApp(suite.appId, true)
|
||||
} else {
|
||||
// Revert selection
|
||||
selectedSuiteId.value = oldSuiteId
|
||||
|
|
|
|||
Loading…
Reference in a new issue