fix lints (#8737)
* fix: emits use ev instead of e * fix: errors use err instead of e * fix: replace use of data where possible * fix: events use evt instead of e * fix: use strict equals * fix: use emoji instead of e * fix: vue lints
This commit is contained in:
parent
9c80403072
commit
3dae18b93c
69 changed files with 255 additions and 257 deletions
|
|
@ -175,10 +175,10 @@ const menu = (ev: MouseEvent) => {
|
|||
type: 'info',
|
||||
text: i18n.ts.exportRequested,
|
||||
});
|
||||
}).catch((e) => {
|
||||
}).catch((err) => {
|
||||
os.alert({
|
||||
type: 'error',
|
||||
text: e.message,
|
||||
text: err.message,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
@ -195,10 +195,10 @@ const menu = (ev: MouseEvent) => {
|
|||
type: 'info',
|
||||
text: i18n.ts.importRequested,
|
||||
});
|
||||
}).catch((e) => {
|
||||
}).catch((err) => {
|
||||
os.alert({
|
||||
type: 'error',
|
||||
text: e.message,
|
||||
text: err.message,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -265,10 +265,10 @@ const invite = () => {
|
|||
type: 'info',
|
||||
text: x.code
|
||||
});
|
||||
}).catch(e => {
|
||||
}).catch(err => {
|
||||
os.alert({
|
||||
type: 'error',
|
||||
text: e
|
||||
text: err,
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue