mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-26 18:58:21 +02:00
Solved the typescript error.
This commit is contained in:
parent
eefebb2444
commit
cde490a59b
@ -100,7 +100,7 @@ router.get('admin/users', async (_path: SubPath, ctx: AppContext) => {
|
|||||||
await userModel.checkIfAllowed(ctx.joplin.owner, AclAction.List);
|
await userModel.checkIfAllowed(ctx.joplin.owner, AclAction.List);
|
||||||
|
|
||||||
const showDisabled = ctx.query.show_disabled === '1';
|
const showDisabled = ctx.query.show_disabled === '1';
|
||||||
const searchQuery = (ctx.query.query && ctx.query.query.toLowerCase()) || '';
|
const searchQuery = (ctx.query.query && ctx.query.query.toString().toLowerCase()) || '';
|
||||||
|
|
||||||
const pagination = makeTablePagination(ctx.query, 'full_name', PaginationOrderDir.ASC);
|
const pagination = makeTablePagination(ctx.query, 'full_name', PaginationOrderDir.ASC);
|
||||||
pagination.limit = 1000;
|
pagination.limit = 1000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user