Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CoreHome/vue/src/MatomoUrl/MatomoUrl.ts')
-rw-r--r--plugins/CoreHome/vue/src/MatomoUrl/MatomoUrl.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/CoreHome/vue/src/MatomoUrl/MatomoUrl.ts b/plugins/CoreHome/vue/src/MatomoUrl/MatomoUrl.ts
index 5639725464..9729c964a6 100644
--- a/plugins/CoreHome/vue/src/MatomoUrl/MatomoUrl.ts
+++ b/plugins/CoreHome/vue/src/MatomoUrl/MatomoUrl.ts
@@ -5,7 +5,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
-import { ILocationService } from 'angular';
+import { ILocationService, ITimeoutService } from 'angular';
import { computed, ref, readonly } from 'vue';
import Matomo from '../Matomo/Matomo';
import { Periods, format } from '../Periods'; // important to load all periods here
@@ -67,6 +67,9 @@ class MatomoUrl {
const $location: ILocationService = Matomo.helper.getAngularDependency('$location');
$location.search(serializedParams);
+
+ const $timeout: ITimeoutService = Matomo.helper.getAngularDependency('$timeout');
+ $timeout();
}
updateUrl(params: QueryParameters|string, hashParams: QueryParameters|string = {}) {