mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
Uif/export switch (#17234)
* fix private variables used in template * remove module * fix test import
This commit is contained in:
@@ -58,9 +58,9 @@ export class SwitchComponent implements ControlValueAccessor, AfterViewInit {
|
||||
|
||||
private readonly hintComponent = contentChild<BitHintComponent>(BitHintComponent);
|
||||
|
||||
private disabledReasonTextId = `bit-switch-disabled-text-${nextId++}`;
|
||||
protected readonly disabledReasonTextId = `bit-switch-disabled-text-${nextId++}`;
|
||||
|
||||
private readonly describedByIds = computed(() => {
|
||||
protected readonly describedByIds = computed(() => {
|
||||
const ids: string[] = [];
|
||||
|
||||
if (this.disabledReasonText() && this.disabled()) {
|
||||
|
||||
Reference in New Issue
Block a user