add luma upload (#116)

This commit is contained in:
HCode authored and GitHub committed 2024-08-17 21:16:38 +08:00
1 parent 301f1d09af
commit fd8eb9ffcd
7 files changed
+192 -31

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ export const getApplications = async ({
.then((response) => {
console.debug('get applications success', response?.data);
state.status.getApplications = Status.Success;
commit('setApplications', response.data.items);
commit('setApplication', response.data.items);
// check if there is any application with 'Period' type
const application = response.data.items?.find((application) => application?.type === IApplicationType.PERIOD);
const application2 = response.data.items?.find((application) => application?.type === IApplicationType.USAGE);