mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-07-07 17:00:36 +02:00
Migrate config, migrate analysis plotselection
This commit is contained in:
@@ -6,10 +6,13 @@
|
||||
import { getContext, onMount } from "svelte";
|
||||
import { Col, Card, CardBody, CardTitle } from "@sveltestrap/sveltestrap";
|
||||
|
||||
let scrambled;
|
||||
|
||||
/*Const Init */
|
||||
const resampleConfig = getContext("resampling");
|
||||
|
||||
/* State Init */
|
||||
let scrambled = $state(false);
|
||||
|
||||
/* on Mount */
|
||||
onMount(() => {
|
||||
scrambled = window.localStorage.getItem("cc-scramble-names") != null;
|
||||
});
|
||||
@@ -33,7 +36,7 @@
|
||||
type="checkbox"
|
||||
id="scramble-names-checkbox"
|
||||
style="margin-right: 1em;"
|
||||
on:click={() => handleScramble()}
|
||||
onclick={() => handleScramble()}
|
||||
bind:checked={scrambled}
|
||||
/>
|
||||
Active?
|
||||
|
||||
Reference in New Issue
Block a user