Skip to content

Commit

Permalink
fix(workspace): fix wfs-actions workspace demo (#1034)
Browse files Browse the repository at this point in the history
* fix(workspace): fix wfs-actions workspace demo

* fix(edition): fix edition actions service
  • Loading branch information
PhilippeLafreniere18 authored and cbourget committed Mar 21, 2023
1 parent 9f3c505 commit 1440d31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class EditionActionsService implements OnDestroy {
this.zoomAuto$.next(this.zoomAuto);
this.storageChange$$ = this.storageService.storageChange$
.pipe(skipWhile((storageChange: StorageServiceEvent) =>
storageChange.key !== 'zoomAuto' || storageChange.event === StorageServiceEventEnum.CLEARED))
storageChange?.key !== 'zoomAuto' || storageChange?.event === StorageServiceEventEnum.CLEARED))
.subscribe(() => {
this.zoomAuto$.next(this.zoomAuto);
handleZoomAuto(workspace, this.storageService);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class WfsActionsService implements OnDestroy {
this.zoomAuto$.next(this.zoomAuto);
this.storageChange$$ = this.storageService.storageChange$
.pipe(skipWhile((storageChange: StorageServiceEvent) =>
storageChange.key !== 'zoomAuto' || storageChange.event === StorageServiceEventEnum.CLEARED))
storageChange?.key !== 'zoomAuto' || storageChange?.event === StorageServiceEventEnum.CLEARED))
.subscribe(() => {
this.zoomAuto$.next(this.zoomAuto);
handleZoomAuto(workspace, this.storageService);
Expand Down

0 comments on commit 1440d31

Please sign in to comment.