diff --git a/web/frontend/src/Node.root.svelte b/web/frontend/src/Node.root.svelte index 1d001e9..d07e752 100644 --- a/web/frontend/src/Node.root.svelte +++ b/web/frontend/src/Node.root.svelte @@ -11,6 +11,7 @@ } from "sveltestrap"; import { queryStore, gql, getContextClient } from "@urql/svelte"; import TimeSelection from "./filters/TimeSelection.svelte"; + import Refresher from './joblist/Refresher.svelte'; import PlotTable from "./PlotTable.svelte"; import MetricPlot from "./plots/MetricPlot.svelte"; import { getContext } from "svelte"; @@ -160,6 +161,13 @@ No currently running jobs. {/if} + + { + const diff = Date.now() - to + from = new Date(from.getTime() + diff) + to = new Date(to.getTime() + diff) + }} /> + diff --git a/web/frontend/src/Systems.root.svelte b/web/frontend/src/Systems.root.svelte index eda7368..2d9e571 100644 --- a/web/frontend/src/Systems.root.svelte +++ b/web/frontend/src/Systems.root.svelte @@ -1,5 +1,6 @@