mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 09:13:58 +00:00
alter table - editor data fix
This commit is contained in:
@@ -135,6 +135,7 @@ export default function useEditorData({ tabid, reloadToken = 0, loadFromArgs = n
|
|||||||
const clearEditorData = async () => {
|
const clearEditorData = async () => {
|
||||||
await localforage.removeItem(localStorageKey);
|
await localforage.removeItem(localStorageKey);
|
||||||
localStorage.removeItem(localStorageKey);
|
localStorage.removeItem(localStorageKey);
|
||||||
|
value = null;
|
||||||
editorState.update(x => ({
|
editorState.update(x => ({
|
||||||
...x,
|
...x,
|
||||||
value: null,
|
value: null,
|
||||||
|
|||||||
@@ -104,8 +104,6 @@
|
|||||||
tableInfo;
|
tableInfo;
|
||||||
invalidateCommands();
|
invalidateCommands();
|
||||||
}
|
}
|
||||||
|
|
||||||
$: console.log('tableInfo', tableInfo);
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
|
|||||||
Reference in New Issue
Block a user