mirror of
https://github.com/bitwarden/clients.git
synced 2026-02-04 02:54:59 -06:00
Update collection dialog to conditionally display "view" or "edit" title based on dialog state; add "viewCollection" translation to messages.json (#18724)
This commit is contained in:
parent
c595767688
commit
3333e5696d
@ -2,7 +2,7 @@
|
||||
<bit-dialog [disablePadding]="!loading" dialogSize="large">
|
||||
<span bitDialogTitle>
|
||||
<ng-container *ngIf="editMode">
|
||||
{{ "editCollection" | i18n }}
|
||||
{{ (dialogReadonly ? "viewCollection" : "editCollection") | i18n }}
|
||||
<span class="tw-text-sm tw-normal-case tw-text-muted" *ngIf="!loading">{{
|
||||
collection.name
|
||||
}}</span>
|
||||
|
||||
@ -3805,6 +3805,9 @@
|
||||
"editCollection": {
|
||||
"message": "Edit collection"
|
||||
},
|
||||
"viewCollection": {
|
||||
"message": "View collection"
|
||||
},
|
||||
"collectionInfo": {
|
||||
"message": "Collection info"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user