diff --git a/modules/backend/layouts/_head.htm b/modules/backend/layouts/_head.htm
index d4b2518b8..6b0bb19f5 100644
--- a/modules/backend/layouts/_head.htm
+++ b/modules/backend/layouts/_head.htm
@@ -59,10 +59,10 @@
if (location.protocol === 'https:') {
// Unregister all service workers before signing in to prevent cache issues, see github issue: #3707
navigator.serviceWorker.getRegistrations().then(
- function(registrations) {
- for (let registration of registrations) {
+ function (registrations) {
+ registrations.forEach(function (registration) {
registration.unregister();
- }
+ });
}
);
}
diff --git a/modules/backend/layouts/auth.htm b/modules/backend/layouts/auth.htm
index 5b66888aa..344e11e37 100644
--- a/modules/backend/layouts/auth.htm
+++ b/modules/backend/layouts/auth.htm
@@ -46,10 +46,10 @@
if (location.protocol === 'https:') {
// Unregister all service workers before signing in to prevent cache issues, see github issue: #3707
navigator.serviceWorker.getRegistrations().then(
- function(registrations) {
- for (let registration of registrations) {
+ function (registrations) {
+ registrations.forEach(function (registration) {
registration.unregister();
- }
+ });
}
);
}
diff --git a/modules/system/controllers/updates/_list_toolbar.htm b/modules/system/controllers/updates/_list_toolbar.htm
index 0de962934..fc32bc329 100644
--- a/modules/system/controllers/updates/_list_toolbar.htm
+++ b/modules/system/controllers/updates/_list_toolbar.htm
@@ -6,6 +6,11 @@
data-handler="onLoadUpdates">
= e(trans('system::lang.updates.check_label')) ?>
+
+ = e(trans('system::lang.themes.install')) ?>
+