Skip to content

Commit 9ad61e7

Browse files
committed
fix(admin): wrong alert selector
* We changed the alert selector due to eslint configuration, but at some places there was still the wrong one.
1 parent 5cb4bcc commit 9ad61e7

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

apps/admin-gui/src/app/shared/components/consent-hubs-list/consent-hubs-list.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@
7878
</perun-web-apps-table-wrapper>
7979
</div>
8080

81-
<app-alert *ngIf="consentHubs.length === 0" alert_type="warn">
81+
<perun-web-apps-alert *ngIf="consentHubs.length === 0" alert_type="warn">
8282
{{'SHARED.COMPONENTS.CONSENT_HUBS_LIST.NO_CONSENT_HUBS' | translate}}
83-
</app-alert>
83+
</perun-web-apps-alert>
8484

85-
<app-alert
85+
<perun-web-apps-alert
8686
*ngIf="dataSource.filteredData.length === 0 && consentHubs.length !== 0"
8787
alert_type="warn">
8888
{{'SHARED.COMPONENTS.CONSENT_HUBS_LIST.NO_FILTER_RESULTS' | translate}}
89-
</app-alert>
89+
</perun-web-apps-alert>

apps/admin-gui/src/app/shared/components/dialogs/add-required-attributes-dialog/add-required-attributes-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<h1 mat-dialog-title>{{'DIALOGS.ADD_REQUIRED_ATTRIBUTES.TITLE' | translate}}</h1>
33
<mat-spinner *ngIf="loading" class="mr-auto ml-auto"></mat-spinner>
44
<div *ngIf="!loading" mat-dialog-content class="dialog-container">
5-
<app-alert
5+
<perun-web-apps-alert
66
*ngIf="serviceEnabled$ | async"
77
[alert_type]="'warn'"
8-
>{{'DIALOGS.ADD_REQUIRED_ATTRIBUTES.ACTIVE_WARN' | translate}}</app-alert
8+
>{{'DIALOGS.ADD_REQUIRED_ATTRIBUTES.ACTIVE_WARN' | translate}}</perun-web-apps-alert
99
>
1010
<perun-web-apps-immediate-filter
1111
(filter)="applyFilter($event)"

apps/admin-gui/src/app/vos/pages/vo-detail-page/vo-settings/vo-settings-member-organizations/add-member-organization-dialog/add-member-organization-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ <h1 mat-dialog-title>
3737
<tr mat-header-row *matHeaderRowDef="columns"></tr>
3838
<tr mat-row *matRowDef="let vo; columns: columns;"></tr>
3939
</table>
40-
<app-alert
40+
<perun-web-apps-alert
4141
[alert_type]="'warn'"
42-
>{{'VO_DETAIL.SETTINGS.MEMBER_ORGANIZATIONS.ADD_MEMBER_ORGANIZATION.WARNING' | translate}}</app-alert
42+
>{{'VO_DETAIL.SETTINGS.MEMBER_ORGANIZATIONS.ADD_MEMBER_ORGANIZATION.WARNING' | translate}}</perun-web-apps-alert
4343
>
4444
</ng-template>
4545
</mat-step>

libs/perun/components/src/lib/consents-list/consents-list.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@
109109
</perun-web-apps-table-wrapper>
110110
</div>
111111

112-
<app-alert
112+
<perun-web-apps-alert
113113
*ngIf="dataSource.filteredData.length === 0 && dataSource.data.length !== 0"
114114
alert_type="warn">
115115
{{'SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT' | customTranslate | translate}}
116-
</app-alert>
116+
</perun-web-apps-alert>
117117

118-
<app-alert *ngIf="dataSource.data.length === 0" alert_type="warn">
118+
<perun-web-apps-alert *ngIf="dataSource.data.length === 0" alert_type="warn">
119119
{{'SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.NO_CONSENTS' | customTranslate | translate}}
120-
</app-alert>
120+
</perun-web-apps-alert>

libs/perun/dialogs/src/lib/universal-confirmation-items-dialog/universal-confirmation-items-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ <h1 mat-dialog-title>{{this.data.title | translate}}</h1>
1919
<tr mat-header-row *matHeaderRowDef="displayedColumns" class="font-weight-bolder"></tr>
2020
<tr mat-row *matRowDef="let item; columns: displayedColumns;"></tr>
2121
</table>
22-
<app-alert *ngIf="data.alert" [alert_type]="'warn'">
22+
<perun-web-apps-alert *ngIf="data.alert" [alert_type]="'warn'">
2323
{{data.alert | translate}}
24-
</app-alert>
24+
</perun-web-apps-alert>
2525
</div>
2626
<div mat-dialog-actions>
2727
<button mat-flat-button class="ml-auto" (click)="onCancel()">

0 commit comments

Comments
 (0)