Skip to content

Commit

Permalink
NAS-130435 / 24.10 / The lock icon is located in a different location…
Browse files Browse the repository at this point in the history
… than normal on the Locality Settings button (#10405)

* NAS-130435: The lock icon is located in a different location than normal on the Locality Settings button

* NAS-130435: PR update
  • Loading branch information
AlexKarpov98 authored Aug 8, 2024
1 parent fa06c8e commit ae64f49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<mat-card [ixUiSearch]="searchableElements.elements.localization">
<mat-toolbar-row>
<h3>{{ helptext.localeTitle | translate }}</h3>
<div
*ixRequiresRoles="requiredRoles"
class="actions action-icon"
>
<div *ixWithLoadingState="generalConfig$ as generalConfig" class="actions action-icon">
<button
*ixWithLoadingState="generalConfig$ as generalConfig"
*ixRequiresRoles="requiredRoles"
mat-button
color="default"
[ixTest]="['localization', 'settings']"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const localizationCardElements = {
anchor: 'localization-card',
},
settings: {
anchor: 'localization-card',
anchor: 'localization-settings',
hierarchy: [T('Localization Settings')],
},
language: {
Expand Down
6 changes: 4 additions & 2 deletions src/assets/ui-searchable-elements.json
Original file line number Diff line number Diff line change
Expand Up @@ -4656,13 +4656,15 @@
"Localization Settings"
],
"synonyms": [],
"requiredRoles": [],
"requiredRoles": [
"FULL_ADMIN"
],
"anchorRouterLink": [
"/system",
"general"
],
"routerLink": null,
"anchor": "localization-card",
"anchor": "localization-settings",
"triggerAnchor": null,
"section": "ui"
},
Expand Down

0 comments on commit ae64f49

Please sign in to comment.