feat(gallery): fix router back navigation from gallery and unlock achievements after visiting instead of before
This commit is contained in:
@@ -132,8 +132,6 @@ const animateIntro = async () => {
|
||||
);
|
||||
};
|
||||
|
||||
const galleryStore = useGalleryStore();
|
||||
|
||||
const animateOutro = async () => {
|
||||
isAnimating.value = true;
|
||||
|
||||
@@ -157,7 +155,6 @@ const animateOutro = async () => {
|
||||
typeText(descriptionText, description.value, DESCRIPTION_DURATION, true, {
|
||||
onComplete: async () => {
|
||||
await promiseTimeout(ANIMATION_SLEEP * 1000);
|
||||
galleryStore.shouldAnimateOutro = true;
|
||||
router.push("/");
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user