Skip to content

Commit

Permalink
timeline: sleep before opening single-item viewer (fix #1158)
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <[email protected]>
  • Loading branch information
pulsejet committed Apr 27, 2024
1 parent 00a07b4 commit c9d13b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ export default defineComponent({
data = await dav.getOnThisDayData();
} else if (dav.isSingleItem()) {
data = await dav.getSingleItemData();
_m.viewer.open(data[0]!.detail![0]);
setTimeout(() => _m.viewer.open(data[0]!.detail![0]), 0);
} else {
// Try the cache
if (!noCache) {
Expand Down

0 comments on commit c9d13b4

Please sign in to comment.