Skip to content

Commit

Permalink
fix(web): closing asset viewer (#8933)
Browse files Browse the repository at this point in the history
* fix: interact with stack trigger navigation

* fix: missing exifInfo

* fix: changing asset

* fix: col-span

* revert change

* fix: remove changes
  • Loading branch information
martabal committed Apr 25, 2024
1 parent c14a2ed commit adb607c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/src/lib/components/asset-viewer/asset-viewer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@
};
const closeViewer = async () => {
$slideshowState = SlideshowState.StopSlideshow;
document.body.style.cursor = '';
dispatch('close');
await navigate({ targetRoute: 'current', assetId: null });
};
Expand Down

0 comments on commit adb607c

Please sign in to comment.