further cleanups
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores';
|
||||
import { tagList } from '$lib/stores.js';
|
||||
import { run } from 'svelte/legacy';
|
||||
|
||||
let { original = $bindable() } = $props();
|
||||
|
||||
@@ -14,7 +13,7 @@
|
||||
});
|
||||
};
|
||||
|
||||
run(() => {
|
||||
$effect.pre(() => {
|
||||
reloadTags(original);
|
||||
});
|
||||
</script>
|
||||
@@ -24,7 +23,7 @@
|
||||
<br />
|
||||
<label>
|
||||
<p>Title:</p>
|
||||
<input type="text" name="title" bind:value={original.title} />
|
||||
<input type="text" name="title" value={original.title} />
|
||||
</label>
|
||||
<br />
|
||||
|
||||
@@ -33,7 +32,7 @@
|
||||
<textarea
|
||||
style="min-width:400px;min-height:100px"
|
||||
name="description"
|
||||
bind:value={original.description}
|
||||
value={original.description}
|
||||
></textarea>
|
||||
</label>
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user