|
@@ -6,7 +6,7 @@ let string_similarity = require('string-similarity');
|
|
|
|
|
|
require('../thirdparty/naturalSort');
|
|
require('../thirdparty/naturalSort');
|
|
|
|
|
|
-require('angular').module('Ks').controller('RootController', function ($scope, $mdPanel) {
|
|
|
|
|
|
+require('angular').module('Ks').controller('RootController', function ($scope, $mdPanel, $timeout) {
|
|
$scope._ = _;
|
|
$scope._ = _;
|
|
|
|
|
|
let tabCats = {
|
|
let tabCats = {
|
|
@@ -26,7 +26,9 @@ require('angular').module('Ks').controller('RootController', function ($scope, $
|
|
};
|
|
};
|
|
|
|
|
|
$scope.$watch('data', function () {
|
|
$scope.$watch('data', function () {
|
|
- setTimeout(getPage, 100);
|
|
|
|
|
|
+ $timeout(function () {
|
|
|
|
+ getPage()
|
|
|
|
+ }, 200);
|
|
}, true);
|
|
}, true);
|
|
|
|
|
|
let getFilter = function () {
|
|
let getFilter = function () {
|