Skip to content

Commit 15e381f

Browse files
susnuxnextcloud-command
authored andcommitted
fix(appstore): fix reference to non-existing forceEnableApp function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 0258167 commit 15e381f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/appstore/src/actions/actionForceEnable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ export const actionForceEnable: AppAction = {
2323
},
2424
async callback(app: IAppstoreApp | IAppstoreExApp) {
2525
const store = useAppsStore()
26-
await store.forceEnableApp(app.id)
26+
await store.enableApp(app.id, true)
2727
},
2828
}

apps/appstore/src/components/AppstoreBrowse/OfficeSuiteSwitcher.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async function onSuiteChanged(newSuiteId: string | null, oldSuiteId: string | nu
9191
})
9292
9393
if (result) {
94-
await store.forceEnableApp(suite.appId)
94+
await store.enableApp(suite.appId, true)
9595
} else {
9696
// Revert selection
9797
selectedSuiteId.value = oldSuiteId

0 commit comments

Comments
 (0)