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

fix handle invoices tour with F1

This commit is contained in:
Sylvain 2020-02-24 11:56:13 +01:00
parent 807a9596a8
commit a1a96b9c03

View File

@ -797,7 +797,7 @@ Application.Controllers.controller('InvoicesController', ['$scope', '$state', 'I
const handleF1 = function (e) {
if (e.key === 'F1') {
e.preventDefault();
const tour = uiTourService.getTourByName('trainings');
const tour = uiTourService.getTourByName('invoices');
if (tour) { tour.start(); }
}
};