mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
#3587 Fix rueckgaenging gemacht, da fix im BE
This commit is contained in:
@@ -222,16 +222,12 @@ export class UiOption implements IUiOption {
|
||||
}
|
||||
|
||||
trySetBoolFromValue(value: string) {
|
||||
if (this.value === value) {
|
||||
const valueSplits = value?.split(';');
|
||||
if (valueSplits.includes(this.value)) {
|
||||
this.setSelected(true);
|
||||
} else {
|
||||
const valueSplits = value?.split(';');
|
||||
if (valueSplits.includes(this.value)) {
|
||||
this.setSelected(true);
|
||||
} else {
|
||||
this.setSelected(undefined);
|
||||
this.values?.forEach((option) => option?.trySetBoolFromValue(value));
|
||||
}
|
||||
this.setSelected(undefined);
|
||||
this.values?.forEach((option) => option?.trySetBoolFromValue(value));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user