- const getLocalStorageVersion: string = sessionStorage.getItem('osmVersion');
- if (getLocalStorageVersion === null) {
+ if (!isNullOrUndefined(sessionStorage.getItem('version'))) {
+ this.getLocalStorageVersion = sessionStorage.getItem('version');
+ } else if (!isNullOrUndefined(this.sharedService.osmVersion)) {
+ this.getLocalStorageVersion = this.sharedService.osmVersion;
+ }
+ if (this.getLocalStorageVersion === null) {