1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-22 11:52:21 +01:00

(bug) variable is not defined

This commit is contained in:
Du Peng 2023-07-04 16:14:55 +02:00
parent 734608f31c
commit 93bbd6912a

View File

@ -322,8 +322,8 @@ Application.Controllers.controller('ProjectsController', ['$scope', '$state', 'P
$location.$$search.member_id = '';
}
fromDate = $location.$$search.from_date ? new Date($location.$$search.from_date) : undefined;
toDate = $location.$$search.to_date ? new Date($location.$$search.to_date) : undefined;
const fromDate = $location.$$search.from_date ? new Date($location.$$search.from_date) : undefined;
const toDate = $location.$$search.to_date ? new Date($location.$$search.to_date) : undefined;
// default search parameters
$scope.search = {