1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

(bug) home page tour tries to start after the page was unloaded

This commit is contained in:
Sylvain 2022-10-12 11:07:47 +02:00
parent d9e8d0e40d
commit 33238e2ea5

View File

@ -106,6 +106,7 @@ Application.Controllers.controller('HomeController', ['$scope', '$transition$',
const setupWelcomeTour = function () {
// get the tour defined by the ui-tour directive
const uitour = uiTourService.getTourByName('welcome');
if (!uitour) return;
// add the steps
uitour.createStep({
selector: 'body',