Fix QR art issues (#35)

This commit is contained in:
AceDataCloud committed 2024-04-28 14:21:21 +00:00
1 parent bbf40bee27
commit cac7c91c02
50 files changed
+540 -340

No files matched your search

+5
View File
@@ -58,6 +58,10 @@ export const getApplication = async ({
});
};
export const setTasks = ({ commit }: any, payload: any) => {
commit('setTasks', payload);
};
export const setTasksItems = ({ commit }: any, payload: IQrartTask[]) => {
commit('setTasksItems', payload);
};
@@ -128,6 +132,7 @@ export default {
setConfig,
setApplication,
getApplication,
setTasks,
setTasksItems,
setTasksTotal,
setTasksActive,
+6 -1
View File
@@ -3,7 +3,7 @@ import { IQrartState } from './models';
export const resetAll = (state: IQrartState): void => {
state.application = undefined;
state.config = {};
state.config = undefined;
state.tasks = undefined;
};
@@ -47,7 +47,12 @@ export const setTasksActive = (state: IQrartState, payload: IQrartTask): void =>
state.tasks = newPayload;
};
export const setTasks = (state: IQrartState, payload: any): void => {
state.tasks = payload;
};
export default {
setTasks,
setApplication,
setConfig,
setCredential,