Quick fix for I/O disappearing after first add

Closes #2596
This commit is contained in:
Damien Elmes 2023-07-27 23:35:20 +10:00
parent 135de7f9ed
commit 1d7559819c

View file

@ -549,7 +549,10 @@ the AddCards dialog) should be implemented in the user of this component.
--border-left-radius="5px"
--border-right-radius="5px"
class="io-select-image-btn"
on:click={() => bridgeCommand("addImageForOcclusion")}
on:click={() => {
imageOcclusionMode = undefined;
bridgeCommand("addImageForOcclusion");
}}
>
{tr.notetypesIoSelectImage()}
</LabelButton>