chore(badges/content): remove the base attribute for legacy

This commit is contained in:
Elian Doran 2026-02-15 13:26:23 +02:00
parent 33ea2de231
commit d3c0a44c00
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View File

@ -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" },

View File

@ -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;
}