electron app starting

This commit is contained in:
Jan Prochazka
2021-12-16 11:46:33 +01:00
parent 0a7c56dace
commit e636987f31
60 changed files with 132 additions and 129 deletions

View File

@@ -63,7 +63,7 @@
tabid,
loadFromArgs:
initialArgs && initialArgs.functionName
? () => axiosInstance.post('runners/load-reader', initialArgs).then(x => x.data)
? () => axiosInstance().post('runners/load-reader', initialArgs).then(x => x.data)
: null,
onInitialData: value => {
dispatchModel({ type: 'reset', value });
@@ -84,7 +84,7 @@
}
const doSave = async (folder, file) => {
await axiosInstance.post('archive/save-free-table', { folder, file, data: $modelState.value });
await axiosInstance().post('archive/save-free-table', { folder, file, data: $modelState.value });
changeTab(tabid, tab => ({
...tab,
title: file,