simplified "go back" functionality
This commit is contained in:
parent
87250b8bfe
commit
5035788ffc
@ -313,15 +313,10 @@ class TourPagesService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If this page has a history-mode back button, trigger regeneration of
|
// Always check all project pages for missing reversed videos on any page save.
|
||||||
// other pages' forward elements that are missing reversed videos.
|
// Uses async queue to avoid blocking the save response.
|
||||||
// This runs every save but only processes elements without reverseVideoUrl.
|
// Elements that already have reverseVideoUrl are skipped (no duplicate work).
|
||||||
if (thisPageHasHistoryMode && projectId && !options._skipHistoryModeCheck) {
|
if (projectId && !options._skipHistoryModeCheck) {
|
||||||
logger.info(
|
|
||||||
{ projectId },
|
|
||||||
'History mode back button detected - scheduling forward regeneration',
|
|
||||||
);
|
|
||||||
|
|
||||||
TourPagesService.enqueueProjectReversedVideosRegeneration(
|
TourPagesService.enqueueProjectReversedVideosRegeneration(
|
||||||
projectId,
|
projectId,
|
||||||
currentUser,
|
currentUser,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user