Skip to content

Commit

Permalink
fix: show array type narrowing
Browse files Browse the repository at this point in the history
  • Loading branch information
alpetric committed Jan 2, 2025
1 parent 383ecf8 commit 13446ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/ArrayTypeNarrowing.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
}
</script>

{#if canEditResourceType}
{#if itemsType?.type === 'resource' && canEditResourceType || itemsType?.type !== 'resource'}
<Label label="Items type">
<select
bind:value={selected}
Expand Down

0 comments on commit 13446ef

Please sign in to comment.