Skip to content

Commit 0b54f33

Browse files
Merge pull request #60488 from nextcloud/backport/60455/stable34
[stable34] fix(appstore): fix reference to non-existing `forceEnableApp` function
2 parents cd1373f + 07180bc commit 0b54f33

9 files changed

Lines changed: 8 additions & 8 deletions

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
Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
File renamed without changes.

dist/AppstoreBrowse-JAVV6Pq4.chunk.mjs.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

dist/AppstoreBrowse-orjufD6l.chunk.mjs.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/appstore-main.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

dist/appstore-main.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)