mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 23:35:59 +00:00
showModal(ImportExportModal => openImportExportTab
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import openNewTab from './openNewTab';
|
||||
|
||||
export function openImportExportTab(editorProps) {
|
||||
export function openImportExportTab(editorProps, additionalProps = {}) {
|
||||
openNewTab(
|
||||
{
|
||||
tabComponent: 'ImportExportTab',
|
||||
title: 'Import/Export',
|
||||
icon: 'img export',
|
||||
...additionalProps,
|
||||
},
|
||||
{
|
||||
editor: editorProps,
|
||||
|
||||
Reference in New Issue
Block a user