document db no longer storing complete template information in separate table:
- dropped table templates - altered table documents: template_id (ref into templates) → template (name of template) - templates are now picked up by the document registry Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
{#if templates}
|
||||
<select bind:value onchange={onchange}>
|
||||
<option value={0}>{caption}</option>
|
||||
{#each Object.entries(templates) as [id,template]}
|
||||
<option value={template.id}>{template.name}</option>
|
||||
{#each templates as template}
|
||||
<option value={template}>{template}</option>
|
||||
{/each}
|
||||
</select>
|
||||
{:else}
|
||||
|
||||
Reference in New Issue
Block a user