1
0
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:
Bryan Cunningham
2025-11-05 13:28:28 -05:00
committed by GitHub
parent f76d2f36e6
commit 6e97927db6
5 changed files with 5 additions and 13 deletions

View File

@@ -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()) {