You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@CookieStorage({key: 'iso-language'}) private _isoLanguage: string;
public getIsoLanguage() {
return this._isoLanguage;
}
public setIsoLanguage(language: string) {
this._isoLanguage = language;
}
When I run setIsoLanguage('test') it works fine, getIsoLanguage() returns 'test'
However, when I run setIsoLanguage('') and then setIsoLanguage('test2'), getIsoLanguage() will still return the empty string.
Enabled debugging, but nothing obvious, it does show it's updating it.
When I set it to null instead of '' it works fine.
The text was updated successfully, but these errors were encountered:
This is my service:
When I run setIsoLanguage('test') it works fine, getIsoLanguage() returns 'test'
However, when I run setIsoLanguage('') and then setIsoLanguage('test2'), getIsoLanguage() will still return the empty string.
Enabled debugging, but nothing obvious, it does show it's updating it.
When I set it to null instead of '' it works fine.
The text was updated successfully, but these errors were encountered: