🐛 Fixed title editor in editor
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
export let pow_salt: string;
|
||||
|
||||
let uppyOpen = false;
|
||||
let unique = {};
|
||||
|
||||
/*eslint no-unused-vars: ["error", { "argsIgnorePattern": "^_" }]*/
|
||||
const correctTimeInput = (_) => {
|
||||
@@ -41,6 +42,7 @@
|
||||
.toString()
|
||||
.slice(0, 3);
|
||||
}
|
||||
unique = {};
|
||||
};
|
||||
$: correctTimeInput(data.questions[selected_question].time);
|
||||
/*
|
||||
@@ -75,6 +77,7 @@
|
||||
{:else}
|
||||
<div class="flex flex-col">
|
||||
<div class="flex justify-center pt-10 w-full">
|
||||
{#key unique}
|
||||
{#await import('$lib/inline-editor.svelte')}
|
||||
<Spinner my_20={false} />
|
||||
{:then c}
|
||||
@@ -91,6 +94,7 @@
|
||||
/>
|
||||
</div>
|
||||
{/await}
|
||||
{/key}
|
||||
</div>
|
||||
{#if data.questions[selected_question].image != undefined && data.questions[selected_question].image !== ''}
|
||||
<div class="flex justify-center pt-10 w-full max-h-72">
|
||||
|
||||
Reference in New Issue
Block a user