mirror of
https://github.com/zadam/trilium.git
synced 2026-02-20 04:34:38 +01:00
chore(badges/content): remove the base attribute for legacy
This commit is contained in:
parent
33ea2de231
commit
d3c0a44c00
@ -72,7 +72,7 @@ const typeMappings: Record<ActiveContentInfo["type"], {
|
||||
icon: "bx bx-layer",
|
||||
dropStart: true,
|
||||
options: [
|
||||
{ label: t("theme.auto_theme"), value: "" },
|
||||
{ label: t("theme.auto_theme"), value: null },
|
||||
{ type: "separator" },
|
||||
{ label: t("theme.triliumnext"), value: "next" },
|
||||
{ label: t("theme.triliumnext-light"), value: "next-light" },
|
||||
|
||||
@ -46,7 +46,10 @@ export interface NumberProperty {
|
||||
}
|
||||
|
||||
export interface ComboBoxItem {
|
||||
value: string;
|
||||
/**
|
||||
* The value to set to the bound label, `null` has a special meaning which removes the label entirely.
|
||||
*/
|
||||
value: string | null;
|
||||
label: string;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user