Fix stability search query
This commit is contained in:
parent
3394ab02e7
commit
80d807e08a
@ -156,7 +156,10 @@ export function prepareIntervalData(
|
|||||||
function onClick(bin: Bin<number, number>): void {
|
function onClick(bin: Bin<number, number>): void {
|
||||||
const start = bin.x0!;
|
const start = bin.x0!;
|
||||||
const end = bin.x1! - 1;
|
const end = bin.x1! - 1;
|
||||||
const query = makeQuery(start, end);
|
let query = makeQuery(start, end);
|
||||||
|
if (fsrs) {
|
||||||
|
query = query.replace(/ivl/g, "s");
|
||||||
|
}
|
||||||
dispatch("search", { query });
|
dispatch("search", { query });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user