mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
address lint issues
This commit is contained in:
parent
37d11ff71f
commit
e54a7a121b
|
@ -614,7 +614,7 @@ a.logo {
|
||||||
|
|
||||||
.gift-container {
|
.gift-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: end;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -20,8 +20,12 @@ export const showMessage = mixins(externalHooks).extend({
|
||||||
if (config && config.closeOnClick) {
|
if (config && config.closeOnClick) {
|
||||||
const cb = config.onClick;
|
const cb = config.onClick;
|
||||||
config.onClick = () => {
|
config.onClick = () => {
|
||||||
notification && notification.close();
|
if (notification) {
|
||||||
cb && cb();
|
notification.close();
|
||||||
|
}
|
||||||
|
if (cb) {
|
||||||
|
cb();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue