mario-core 2.9.37-beta → 2.9.38-admin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/i18n.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/lang/de.d.ts +4 -0
- package/dist/lang/en.d.ts +4 -0
- package/dist/layouts/TheLanguageDropdown.d.ts +3 -0
- package/dist/utils/getTranslations.d.ts +2 -0
- package/dist/utils/translations.d.ts +3 -0
- package/package.json +1 -1
package/dist/i18n.d.ts
ADDED
package/dist/index.js
CHANGED
|
@@ -305,10 +305,12 @@ var apiUpload = axios.create({
|
|
|
305
305
|
if (!key.includes('learning-plan')) delete localStorage[key];
|
|
306
306
|
});
|
|
307
307
|
var userEmail = localStorage.getItem("USER_EMAIL");
|
|
308
|
+
var hostName = window.location.hostname;
|
|
308
309
|
|
|
309
310
|
if (userEmail) {
|
|
310
311
|
amplitude.getInstance().logEvent("general: session end", {
|
|
311
|
-
user_id: userEmail
|
|
312
|
+
user_id: userEmail,
|
|
313
|
+
domain: hostName
|
|
312
314
|
});
|
|
313
315
|
amplitude.getInstance().resetSessionId();
|
|
314
316
|
}
|