This commit is contained in:
usmannasir
2025-06-02 22:00:48 +05:00
parent 08678b69f3
commit 3d1b29bfec
2 changed files with 15 additions and 1 deletions

View File

@@ -869,6 +869,10 @@ app.controller('OnboardingCP', function ($scope, $http, $timeout, $window) {
});
app.controller('dashboardStatsController', function ($scope, $http, $timeout) {
// Defensive: force modal hidden on load
$scope.showSessionModal = false;
$timeout(function() { $scope.showSessionModal = false; }, 200);
// Card values
$scope.totalSites = 0;
$scope.totalWPSites = 0;
@@ -1245,5 +1249,6 @@ app.controller('dashboardStatsController', function ($scope, $http, $timeout) {
$scope.sessionProcesses = '';
$scope.sessionLoading = false;
$scope.sessionError = '';
$timeout(function() { $scope.showSessionModal = false; }, 200);
};
});