1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-04 09:33:27 +00:00

Remove unused i18n strings (#10220)

This commit is contained in:
Thomas Rittson
2024-07-26 04:02:42 +10:00
committed by GitHub
parent a950f2242e
commit 6830e471bb
3 changed files with 2 additions and 16 deletions

View File

@@ -59,7 +59,7 @@ export class AccessSelectorComponent implements ControlValueAccessor, OnInit, On
/**
* Updates the enabled/disabled state of provided row form group based on the item's readonly state.
* If a row is enabled, it also updates the enabled/disabled state of the permission control
* based on the item's accessAllItems state and the current value of `permissionMode`.
* based on the current value of `permissionMode`.
* @param controlRow - The form group for the row to update
* @param item - The access item that is represented by the row
*/
@@ -74,7 +74,7 @@ export class AccessSelectorComponent implements ControlValueAccessor, OnInit, On
controlRow.enable();
// The enable() above also enables the permission control, so we need to disable it again
// Disable permission control if accessAllItems is enabled or not in Edit mode
// Disable permission control if not in Edit mode
if (this.permissionMode != PermissionMode.Edit) {
controlRow.controls.permission.disable();
}