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 Apr 7, 2022
1 parent 5edc67e commit 46c9fd6
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 46c9fd6

Please sign in to comment.