Skip to content

Commit

Permalink
fix: undefined tags in field when editing
Browse files Browse the repository at this point in the history
  • Loading branch information
coatezy committed Oct 8, 2024
1 parent 7557440 commit 62be726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/js/controllers/fields/tags_field_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function tagTemplate(tagData) {
(item) => item.value == tagData.value,
)
const possibleLabel = possibleSuggestion
? possibleSuggestion.label
? possibleSuggestion.value
: tagData.value

return `
Expand Down

0 comments on commit 62be726

Please sign in to comment.