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