mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 04:56:00 +00:00
SYNC: new object modal WIP
This commit is contained in:
committed by
Diflow
parent
db977dfba4
commit
445ecea3e6
18
packages/web/src/modals/NewObjectModal.svelte
Normal file
18
packages/web/src/modals/NewObjectModal.svelte
Normal file
@@ -0,0 +1,18 @@
|
||||
<script lang="ts">
|
||||
import FormStyledButton from '../buttons/FormStyledButton.svelte';
|
||||
import newQuery from '../query/newQuery';
|
||||
import ModalBase from './ModalBase.svelte';
|
||||
import { closeCurrentModal } from './modalTools';
|
||||
|
||||
export let multiTabIndex = undefined;
|
||||
</script>
|
||||
|
||||
<ModalBase simple {...$$restProps}>
|
||||
<FormStyledButton
|
||||
value="Query"
|
||||
on:click={() => {
|
||||
newQuery({ multiTabIndex });
|
||||
closeCurrentModal();
|
||||
}}
|
||||
/>
|
||||
</ModalBase>
|
||||
Reference in New Issue
Block a user