Skip to content

Commit

Permalink
fix(component-library): show error detail when pre-defined message co…
Browse files Browse the repository at this point in the history
…uld not be found
  • Loading branch information
Haberkamp committed Jan 8, 2025
1 parent eb05ef4 commit 2237bfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const errorMessage = computed(() => {
if (!props.error) return "";
const translation = t(props.error.code, props.error.parameters || {});
const noTranslationFound = translation === props.error.code;
const noTranslationFound = translation === props.error.code.toString();
return noTranslationFound ? props.error.detail : translation;
});
Expand Down

0 comments on commit 2237bfc

Please sign in to comment.