Fix exception when using 'true' as filter
This commit is contained in:
1 parent
63876025d2
commit
7269c726fc
8 files changed
+16
-16
No files matched your search
@@ -108,8 +108,8 @@ export function init(args): Promise<{}> {
|
||||
);
|
||||
}
|
||||
|
||||
const sort = args.sort;
|
||||
const filter = args.filter;
|
||||
const sort = args.hasOwnProperty("sort") ? "" + args["sort"] : "";
|
||||
const filter = args.hasOwnProperty("filter") ? "" + args["filter"] : "";
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
loadCodeMirror()
|
||||
|
||||
Reference in new issue
Block a user