make sure to use the getValue method, for eventual overwrites to be included
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user