mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 09:36:01 +00:00
electron app starting
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user