mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
current db/archive buttons
This commit is contained in:
parent
391c7a7b8f
commit
ada7ee7cab
@ -69,7 +69,6 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if direction == 'target'}
|
||||
<div class="buttons">
|
||||
{#if $currentDatabase}
|
||||
<FormStyledButton
|
||||
@ -94,6 +93,7 @@
|
||||
}));
|
||||
}}
|
||||
/>
|
||||
{#if direction == 'target'}
|
||||
<FormStyledButton
|
||||
value="New archive"
|
||||
on:click={() => {
|
||||
@ -104,8 +104,8 @@
|
||||
}));
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<FormSelectField
|
||||
options={types.filter(x => x.directions.includes(direction))}
|
||||
@ -174,8 +174,7 @@
|
||||
args={driver?.importExportArgs.filter(arg => !arg.direction || arg.direction == direction)}
|
||||
namePrefix={`${direction}_${driver.engine}_`}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<style>
|
||||
|
Loading…
Reference in New Issue
Block a user