Merge pull request !2919 from rhodecode-enterprise-ce babel-6-to-7-upgrade

Changes from branch: Babel 6 to 7 upgrade
This commit is contained in:
Andrii Verbytskyi 2025-12-23 13:05:09 +00:00
commit 9790153ed6
8 changed files with 3302 additions and 9211 deletions

View file

@ -0,0 +1,17 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

View file

@ -227,10 +227,11 @@ export class RhodecodeToast extends LitElement {
if (!templateContext.rhodecode_user.notification_status && !data.message.force) {
return;
}
this.toasts = [...this.toasts, {
const newToast = {
level: data.message.level,
message: data.message.message
}];
};
this.toasts = [...this.toasts, newToast];
}
_gettext(x) {