mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 07:16:01 +00:00
SYNC: new object modal WIP
This commit is contained in:
committed by
Diflow
parent
db977dfba4
commit
445ecea3e6
@@ -353,6 +353,7 @@
|
||||
import { getConnectionLabel } from 'dbgate-tools';
|
||||
import { handleAfterTabClick } from '../utility/changeCurrentDbByTab';
|
||||
import { getBoolSettingsValue } from '../settings/settingsTools';
|
||||
import NewObjectModal from '../modals/NewObjectModal.svelte';
|
||||
|
||||
export let multiTabIndex;
|
||||
export let shownTab;
|
||||
@@ -716,7 +717,7 @@
|
||||
{/if}
|
||||
<div
|
||||
class="icon-button"
|
||||
on:click={() => newQuery({ multiTabIndex })}
|
||||
on:click={() => showModal(NewObjectModal, { multiTabIndex })}
|
||||
title="New query"
|
||||
data-testid="TabsPanel_buttonNewQuery"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user