mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +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);
|
||||
|
||||
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);
|
||||
pagination.limit = 1000;
|
||||
|
Loading…
Reference in New Issue
Block a user