mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Only show selectors in Add mode
This commit is contained in:
parent
b17bfb2658
commit
0137ca6c27
1 changed files with 3 additions and 1 deletions
|
@ -1208,7 +1208,9 @@ components and functionality for general note editing.
|
|||
on:dragover={preventDefaultIfNonLegacy}
|
||||
on:drop={checkNonLegacy(handlePickerDrop)}
|
||||
>
|
||||
<EditorChoosers bind:selectedNotetype bind:selectedDeck onNotetypeChange={onNotetypeChange} />
|
||||
{#if mode === "add"}
|
||||
<EditorChoosers bind:selectedNotetype bind:selectedDeck onNotetypeChange={onNotetypeChange} />
|
||||
{/if}
|
||||
|
||||
<EditorToolbar {size} {wrap} api={toolbar}>
|
||||
<svelte:fragment slot="notetypeButtons">
|
||||
|
|
Loading…
Reference in a new issue