Skip to content

Commit

Permalink
fix: type narrow on svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
danielo515 committed Oct 22, 2023
1 parent 2c9a17f commit c46dc40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/components/InputBuilderSelect.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import { setIcon } from "obsidian";
import FormRow from "./FormRow.svelte";
import InputFolder from "./InputFolder.svelte";
import type { EditableInput } from "src/core/formDefinition";
export let index: number;
export let source: string = "fixed";
Expand Down Expand Up @@ -79,7 +78,7 @@
on:click={() => moveOption(idx, "down")}
/></FormRow
>
{#if is_multi}
{#if "string" == typeof option}
<FormRow label="Value" id={value_id}>
<input
type="text"
Expand Down

0 comments on commit c46dc40

Please sign in to comment.