mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
fix value update for match detections (#11417)
This commit is contained in:
@@ -149,12 +149,12 @@ export class UriOptionComponent implements ControlValueAccessor {
|
||||
}
|
||||
|
||||
// NG_VALUE_ACCESSOR implementation
|
||||
writeValue(value: any): void {
|
||||
writeValue(value: { uri: string; matchDetection: UriMatchStrategySetting | null }): void {
|
||||
if (value) {
|
||||
this.uriForm.setValue(
|
||||
{
|
||||
uri: value.uri ?? "",
|
||||
matchDetection: value.match ?? null,
|
||||
matchDetection: value.matchDetection ?? null,
|
||||
},
|
||||
{ emitEvent: false },
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user