From 37f6e07ed6c16cb234fca3b275632c4471dc3979 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 15 May 2020 08:04:48 -0400 Subject: make sure we don't block transition for first use --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js') diff --git a/www/js/app.js b/www/js/app.js index 3dde24f1..bcdbc93f 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -1520,7 +1520,7 @@ angular.module('zmApp', [ $rootScope.$on('$stateChangeStart', function (event, toState, toParams) { - if (!$rootScope.initComplete) { + if (!$rootScope.initComplete && (toState!= 'app.first-use')) { NVR.debug ("---> Init not complete, ignoring state change request to "+toState.name); event.preventDefault(); return; -- cgit v1.2.3