make sure to use the getValue method, for eventual overwrites to be included

This commit is contained in:
Niels Lyngsø
2024-05-21 13:35:03 +02:00
parent 96736373ff
commit b9d51ec131

View File

@@ -33,7 +33,7 @@ export class UmbBasicState<T> {
* console.log("Value is: ", myState.value);
*/
public get value(): BehaviorSubject<T>['value'] {
return this._subject.value;
return this.getValue();
}
/**