Make rollback a GRUB snapshot reboot
Some checks failed
dev release / build (push) Has been cancelled
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:
parent
0798fad697
commit
3aad09c9ef
4 changed files with 36 additions and 8 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue