mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
./check
This commit is contained in:
parent
17d8528afd
commit
84b2b2bd96
3 changed files with 2 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::collections::HashMap;
|
||||
// Copyright: Ankitects Pty Ltd and contributors
|
||||
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
use std::collections::HashMap;
|
||||
use std::sync::Arc;
|
||||
|
||||
use anki_proto::deck_config::deck_config::config::ReviewCardOrder;
|
||||
|
|
|
@ -270,9 +270,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
});
|
||||
}
|
||||
|
||||
const render_function = workload
|
||||
? renderWorkloadChart
|
||||
: renderSimulationChart;
|
||||
const render_function = workload ? renderWorkloadChart : renderSimulationChart;
|
||||
|
||||
tableData = render_function(
|
||||
svg as SVGElement,
|
||||
|
|
|
@ -49,8 +49,6 @@ export function renderWorkloadChart(
|
|||
data: Point[],
|
||||
subgraph: SimulateWorkloadSubgraph,
|
||||
) {
|
||||
const today = new Date();
|
||||
|
||||
const xMin = 70;
|
||||
const xMax = 99;
|
||||
|
||||
|
|
Loading…
Reference in a new issue