From 14f2f5df8a96dab8cd86e7c273cace02faa8a735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amelia=20Linn=C3=A9?= Date: Mon, 14 Oct 2024 12:33:23 +0200 Subject: [PATCH] fix: remove linting (#66) --- src/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller.js b/src/controller.js index 361984d..3dfd56f 100644 --- a/src/controller.js +++ b/src/controller.js @@ -17,7 +17,7 @@ export default ['$scope', '$element', function($scope, $element) { $scope.updated = false; $scope.app = qlik.currApp(this); - const localeInfo = $scope.app.model.layout.qLocaleInfo; + const localeInfo = $scope.app ? $scope.app.model.layout.qLocaleInfo : {}; picasso.use(pq); picasso.use(picassoHammer(Hammer));