✨ Saving image relations on save in editor
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
class="rounded-full absolute -top-2 -right-2 opacity-70 hover:opacity-100 transition"
|
||||
type="button"
|
||||
on:click={() => {
|
||||
data.questions[selected_question].image = '';
|
||||
data.questions[selected_question].image = null;
|
||||
}}
|
||||
>
|
||||
<svg
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
alt="not available"
|
||||
class="max-h-72 h-auto w-auto"
|
||||
on:contextmenu|preventDefault={() => {
|
||||
data.cover_image = '';
|
||||
data.cover_image = null;
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user