mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Messages: unmark critical (#16146)
* Unmark as critical
* Revert "Unmark as critical"
This reverts commit 3fa79fc498.
* rename unmarkAsCriticalApp -> unmarkAsCritical
This commit is contained in:
@@ -176,8 +176,8 @@
|
||||
"totalApplications": {
|
||||
"message": "Total applications"
|
||||
},
|
||||
"unmarkAsCriticalApp": {
|
||||
"message": "Unmark as critical app"
|
||||
"unmarkAsCritical": {
|
||||
"message": "Unmark as critical"
|
||||
},
|
||||
"criticalApplicationSuccessfullyUnmarked": {
|
||||
"message": "Critical application successfully unmarked"
|
||||
|
||||
@@ -88,8 +88,8 @@
|
||||
></button>
|
||||
|
||||
<bit-menu #rowMenu>
|
||||
<button type="button" bitMenuItem (click)="unmarkAsCriticalApp(row.applicationName)">
|
||||
{{ "unmarkAsCriticalApp" | i18n }}
|
||||
<button type="button" bitMenuItem (click)="unmarkAsCritical(row.applicationName)">
|
||||
{{ "unmarkAsCritical" | i18n }}
|
||||
</button>
|
||||
</bit-menu>
|
||||
</td>
|
||||
|
||||
@@ -19,6 +19,6 @@ export class AppTableRowScrollableComponent {
|
||||
@Input() selectedUrls: Set<string> = new Set<string>();
|
||||
@Input() isDrawerIsOpenForThisRecord!: (applicationName: string) => boolean;
|
||||
@Input() showAppAtRiskMembers!: (applicationName: string) => void;
|
||||
@Input() unmarkAsCriticalApp!: (applicationName: string) => void;
|
||||
@Input() unmarkAsCritical!: (applicationName: string) => void;
|
||||
@Input() checkboxChange!: (applicationName: string, $event: Event) => void;
|
||||
}
|
||||
|
||||
@@ -83,6 +83,6 @@
|
||||
[showRowMenuForCriticalApps]="true"
|
||||
[isDrawerIsOpenForThisRecord]="isDrawerOpenForTableRow"
|
||||
[showAppAtRiskMembers]="showAppAtRiskMembers"
|
||||
[unmarkAsCriticalApp]="unmarkAsCriticalApp"
|
||||
[unmarkAsCritical]="unmarkAsCritical"
|
||||
></app-table-row-scrollable>
|
||||
</div>
|
||||
|
||||
@@ -106,7 +106,7 @@ export class CriticalApplicationsComponent implements OnInit {
|
||||
);
|
||||
};
|
||||
|
||||
unmarkAsCriticalApp = async (hostname: string) => {
|
||||
unmarkAsCritical = async (hostname: string) => {
|
||||
try {
|
||||
await this.criticalAppsService.dropCriticalApp(
|
||||
this.organizationId as OrganizationId,
|
||||
|
||||
Reference in New Issue
Block a user