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:
commit
9790153ed6
8 changed files with 3302 additions and 9211 deletions
17
rhodecode/public/js/rhodecode-components.js.LICENSE.txt
Normal file
17
rhodecode/public/js/rhodecode-components.js.LICENSE.txt
Normal 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
|
||||
*/
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue