Skip to content

Commit

Permalink
chore(domains): fix application form header
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYuion committed Feb 3, 2025
1 parent 98aebdc commit 8b3eb7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/backoffice/src/app/domains/domain-state.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class DomainStateService {
const ref = this._dialog.open(ItemCreateUpdateModalComponent, {
data: {
item,
name: 'Application',
name: 'DOMAINS.APPLICATION',
save: (i) => {
delete i.client_id;
return i.id
Expand Down
4 changes: 3 additions & 1 deletion apps/backoffice/src/app/overlays/item-modal.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ export interface CreateEditModalData<T extends Identity = any> {
<fullscreen-modal-shell
[heading]="
name +
((name.includes('ADMIN') ? '_' : '.') +
((name.includes('ADMIN') || name.startsWith('DOMAINS.')
? '_'
: '.') +
(item && edit ? 'EDIT' : 'NEW')) | translate
"
[loading]="loading"
Expand Down

0 comments on commit 8b3eb7d

Please sign in to comment.