mirror of
https://github.com/zadam/trilium.git
synced 2026-01-17 03:54:24 +01:00
chore(client): fix type issue
This commit is contained in:
parent
2144888447
commit
0dd3a03c6b
@ -109,13 +109,13 @@ function ExecuteBadge() {
|
||||
);
|
||||
}
|
||||
|
||||
function SaveStatusBadge() {
|
||||
export function SaveStatusBadge() {
|
||||
const saveState = useGetContextData("saveState");
|
||||
if (!saveState) return;
|
||||
|
||||
let icon: string;
|
||||
let title: string;
|
||||
let tooltip: string;
|
||||
let tooltip: string | undefined;
|
||||
switch (saveState?.state) {
|
||||
case "saved":
|
||||
icon = "bx bx-check";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user