mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
fix lint issues
This commit is contained in:
parent
e35e6d40a5
commit
c0e614f000
|
@ -17,6 +17,7 @@ export const showMessage = mixins(externalHooks).extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
$showWarning(title: string, message: string, config?: {onClick?: () => void, duration?: number, customClass?: string, closeOnClick?: boolean}) {
|
$showWarning(title: string, message: string, config?: {onClick?: () => void, duration?: number, customClass?: string, closeOnClick?: boolean}) {
|
||||||
|
// eslint-disable-next-line prefer-const
|
||||||
let notification: ElNotificationComponent;
|
let notification: ElNotificationComponent;
|
||||||
if (config && config.closeOnClick) {
|
if (config && config.closeOnClick) {
|
||||||
const cb = config.onClick;
|
const cb = config.onClick;
|
||||||
|
|
Loading…
Reference in a new issue