Fix kling (#202)
This commit is contained in:
1 parent
9dcbaff10a
commit
1964814509
14 files changed
+34
-14
No files matched your search
@@ -87,6 +87,7 @@ export const getService = async ({
|
||||
|
||||
export const getApplications = async ({
|
||||
commit,
|
||||
dispatch,
|
||||
state,
|
||||
rootState
|
||||
}: ActionContext<IChatdocState, IRootState>): Promise<IApplication[] | undefined> => {
|
||||
@@ -104,7 +105,7 @@ export const getApplications = async ({
|
||||
const finalApplication = getFinalApplication(applications.items, currentApplication);
|
||||
if (finalApplication) {
|
||||
console.debug('set final application', finalApplication, finalApplication?.type);
|
||||
commit('setApplication', finalApplication);
|
||||
await dispatch('setApplication', finalApplication);
|
||||
} else {
|
||||
console.debug('set application undefined', undefined);
|
||||
commit('setApplication', undefined);
|
||||
|
||||
Reference in new issue
Block a user