mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 04:16:00 +00:00
table edit fixes
This commit is contained in:
@@ -133,14 +133,14 @@ export default function useEditorData({ tabid, reloadToken = 0, loadFromArgs = n
|
||||
};
|
||||
|
||||
const clearEditorData = async () => {
|
||||
await localforage.removeItem(localStorageKey);
|
||||
localStorage.removeItem(localStorageKey);
|
||||
editorState.update(x => ({
|
||||
...x,
|
||||
value: null,
|
||||
errorMessage: null,
|
||||
isLoading: false,
|
||||
}));
|
||||
await localforage.removeItem(localStorageKey);
|
||||
localStorage.removeItem(localStorageKey);
|
||||
};
|
||||
|
||||
onMount(() => {
|
||||
|
||||
Reference in New Issue
Block a user