ui: fix eslint
This commit is contained in:
parent
7e1aa8d7e2
commit
3d7112b702
19 changed files with 28 additions and 30 deletions
|
@ -18,13 +18,13 @@ export default (id: number, include: string[] = []) => {
|
|||
const params = {};
|
||||
if (filters !== null) {
|
||||
Object.keys(filters).forEach(key => {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error todo
|
||||
params['filter[' + key + ']'] = filters[key];
|
||||
});
|
||||
}
|
||||
|
||||
if (sort !== null) {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error todo
|
||||
params.sort = (sortDirection ? '-' : '') + sort;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue