Skip to content

Commit

Permalink
never let a field be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
rogchap committed Dec 13, 2020
1 parent 9d31a7e commit 557a2da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/views/MessageField.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
}
}
$: if(!field) field = {};
</script>

{#if field.repeated && idx < 0 }
Expand Down

0 comments on commit 557a2da

Please sign in to comment.