update dependencies & remove google analytics

This commit is contained in:
tdurieux
2023-06-20 09:58:25 +02:00
parent 406330d957
commit e24d1b4630
11 changed files with 1435 additions and 1873 deletions
+1 -10
View File
@@ -5,17 +5,9 @@ angular
"ui.ace",
"ngPDFViewer",
"pascalprecht.translate",
"angular-google-analytics",
"admin",
])
.config(function (
$routeProvider,
$locationProvider,
$translateProvider,
AnalyticsProvider
) {
AnalyticsProvider.setAccount("UA-5954162-28");
.config(function ($routeProvider, $locationProvider, $translateProvider) {
$translateProvider.useStaticFilesLoader({
prefix: "/i18n/locale-",
suffix: ".json",
@@ -142,7 +134,6 @@ angular
});
$locationProvider.html5Mode(true);
})
.run(["Analytics", function (Analytics) {}])
.filter("humanFileSize", function () {
return function humanFileSize(bytes, si = false, dp = 1) {
const thresh = si ? 1000 : 1024;
File diff suppressed because one or more lines are too long