diff --git a/ts/graphs/GraphsPage.svelte b/ts/graphs/GraphsPage.svelte
index 2312d825c..5419d4cc5 100644
--- a/ts/graphs/GraphsPage.svelte
+++ b/ts/graphs/GraphsPage.svelte
@@ -13,6 +13,7 @@
export let search: string;
export let days: number;
+ export let withRangeBox: boolean;
let sourceData: pb.BackendProto.GraphsOut | null = null;
@@ -95,44 +96,46 @@
}
-
-
◐
+{#if withRangeBox}
+
-
+
+{/if}
{#if sourceData}
diff --git a/ts/graphs/bootstrap.ts b/ts/graphs/bootstrap.ts
index 2877fe8e2..86ecc42d6 100644
--- a/ts/graphs/bootstrap.ts
+++ b/ts/graphs/bootstrap.ts
@@ -21,6 +21,7 @@ export function graphs(
graphs: any[], {
search = "deck:current",
days = 31,
+ withRangeBox = true,
} = {},
): void {
const nightMode = checkNightMode();
@@ -34,6 +35,7 @@ export function graphs(
nightMode,
search,
days,
+ withRangeBox,
},
});
});