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

@@ -40,7 +40,7 @@
$: files = useArchiveFiles({ folder });
const handleRefreshFiles = () => {
axiosInstance.post('archive/refresh-files', { folder });
axiosInstance().post('archive/refresh-files', { folder });
};
function handleNewDataSheet() {
@@ -49,7 +49,7 @@
label: 'New file name',
header: 'Create new data sheet',
onConfirm: async file => {
await axiosInstance.post('archive/save-free-table', {
await axiosInstance().post('archive/save-free-table', {
folder: $currentArchive,
file,
data: createFreeTableModel(),