Skip to content

Commit

Permalink
Fix problem: Red asterix next to 'AT'
Browse files Browse the repository at this point in the history
  • Loading branch information
kongulov committed Oct 12, 2022
1 parent be05f2f commit 7927304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/components/FormField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@click="switchLanguage(lang)"
>
{{ lang }}
<span class="text-danger text-sm">{{ field.requiredLocales[lang] ? '*' : '' }}</span>
<span class="text-danger text-sm">{{ field.requiredLocales[lang] !== undefined && field.requiredLocales[lang] == true ? '*' : '' }}</span>
</span>
</div>
<div class="tab-contents">
Expand Down

0 comments on commit 7927304

Please sign in to comment.