current db/archive buttons

This commit is contained in:
Jan Prochazka 2022-02-13 09:16:23 +01:00
parent 391c7a7b8f
commit ada7ee7cab

View File

@ -69,7 +69,6 @@
</div> </div>
{/if} {/if}
{#if direction == 'target'}
<div class="buttons"> <div class="buttons">
{#if $currentDatabase} {#if $currentDatabase}
<FormStyledButton <FormStyledButton
@ -94,6 +93,7 @@
})); }));
}} }}
/> />
{#if direction == 'target'}
<FormStyledButton <FormStyledButton
value="New archive" value="New archive"
on:click={() => { on:click={() => {
@ -104,8 +104,8 @@
})); }));
}} }}
/> />
</div>
{/if} {/if}
</div>
<FormSelectField <FormSelectField
options={types.filter(x => x.directions.includes(direction))} options={types.filter(x => x.directions.includes(direction))}
@ -175,7 +175,6 @@
namePrefix={`${direction}_${driver.engine}_`} namePrefix={`${direction}_${driver.engine}_`}
/> />
{/if} {/if}
</div> </div>
<style> <style>