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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user