Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 4008643

Browse files
committed
refactor(subtree): duplicate bx in icon name
1 parent bde3f0a commit 4008643

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

apps/server/src/services/hidden_subtree_templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function buildHiddenSubtreeTemplates() {
1010
id: "_template_text_snippet",
1111
type: "text",
1212
title: "Text Snippet",
13-
icon: "bx bx-align-left",
13+
icon: "bx-align-left",
1414
attributes: [
1515
{
1616
name: "template",

packages/commons/src/lib/hidden_subtree.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ export interface HiddenSubtreeItem {
2323
id: string;
2424
title: string;
2525
type: LauncherNoteType;
26+
/**
27+
* The icon to use for this item, in the format "bx-icon-name" (e.g., `bx-file-blank`), *without* the leading `bx `.
28+
*/
2629
icon?: string;
2730
attributes?: HiddenSubtreeAttribute[];
2831
children?: HiddenSubtreeItem[];

0 commit comments

Comments
 (0)