diff --git a/src/lib/components/entry/PatientCard.svelte b/src/lib/components/entry/PatientCard.svelte deleted file mode 100644 index d164fa1..0000000 --- a/src/lib/components/entry/PatientCard.svelte +++ /dev/null @@ -1,20 +0,0 @@ - - -
-
Patient
-
- {#if patient.room} - - {/if} - - {patient.first_name} - {patient.last_name} - ({patient.age}) - -
-
diff --git a/src/lib/components/filter/Autocomplete.svelte b/src/lib/components/filter/Autocomplete.svelte index a339dc0..c726c60 100644 --- a/src/lib/components/filter/Autocomplete.svelte +++ b/src/lib/components/filter/Autocomplete.svelte @@ -92,10 +92,10 @@ if (i !== -1) { highlightIndex = i; } - if (asTextInput) setInputValue(selection.name ?? ""); + if (asTextInput) setInputValue(selection.name || ""); } else { highlightIndex = 0; - setInputValue(selection.name ?? ""); + setInputValue(selection.name || ""); } } else { highlightIndex = 0; diff --git a/src/lib/components/filter/FilterChip.svelte b/src/lib/components/filter/FilterChip.svelte index 55a30e1..6f9ee0e 100644 --- a/src/lib/components/filter/FilterChip.svelte +++ b/src/lib/components/filter/FilterChip.svelte @@ -72,7 +72,7 @@ gap-1 pl-1" {@const hids = hiddenIds()} {title} + - diff --git a/src/lib/components/ui/MarkdownInput.svelte b/src/lib/components/ui/MarkdownInput.svelte index 46eec0b..9ec4f87 100644 --- a/src/lib/components/ui/MarkdownInput.svelte +++ b/src/lib/components/ui/MarkdownInput.svelte @@ -9,7 +9,6 @@ export let errors: string[] | undefined = undefined; export let ariaInvalid: boolean | undefined = undefined; export let constraints: InputConstraint | undefined = undefined; - export let marginTop = false; let editMode = true; @@ -18,33 +17,26 @@ } -
-
- {label} - -
-
- {#if editMode} -