Skip to content

Commit

Permalink
Editor / Associated resource / Avoid empty label (#8339)
Browse files Browse the repository at this point in the history
When adding a source for example, the button label may be empty. Add a default one.
  • Loading branch information
fxprunayre authored Sep 3, 2024
1 parent debb6ac commit 304d90c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
ng-disabled="!canEnableLinkButton(selectRecords)"
>
<i class="fa gn-icon-{{mode}}"></i>
<i class="icon-external-link"></i>&nbsp; {{btn.label}}
<i class="icon-external-link"></i>&nbsp; {{btn.label || ('saveLinkToSibling' | translate)}}
</button>
<div data-gn-need-help="linking-records" class="pull-right"></div>
</div>
Expand Down

0 comments on commit 304d90c

Please sign in to comment.