Make rollback a GRUB snapshot reboot
Some checks failed
dev release / build (push) Has been cancelled

Updates leads with “Boot a snapshot from GRUB (BOS snapshots)”
and links to Snapshots. Snapshots is the list to pick in GRUB,
not snapper rollback.
This commit is contained in:
Breadway 2026-08-16 00:48:25 +08:00
parent 0798fad697
commit 3aad09c9ef
4 changed files with 36 additions and 8 deletions

View file

@ -1,14 +1,18 @@
<script lang="ts">
import { onMount } from "svelte";
import { onMount, setContext } from "svelte";
import { listen } from "@tauri-apps/api/event";
import Sidebar from "$lib/components/Sidebar.svelte";
import Placeholder from "$lib/components/Placeholder.svelte";
import { DEFAULT_PAGE } from "$lib/sidebar";
import { NAVIGATE_KEY, type Navigate } from "$lib/nav";
import { initTheme } from "$lib/theme";
import { VIEWS } from "$lib/views/registry";
let activePage = $state(DEFAULT_PAGE);
let ActiveView = $derived(VIEWS[activePage]);
setContext<Navigate>(NAVIGATE_KEY, (page) => {
activePage = page;
});
onMount(() => {
initTheme();