diff --git a/surfsense_web/components/ui/insert-toolbar-button.tsx b/surfsense_web/components/ui/insert-toolbar-button.tsx index 91d807ef0..4abf6a57b 100644 --- a/surfsense_web/components/ui/insert-toolbar-button.tsx +++ b/surfsense_web/components/ui/insert-toolbar-button.tsx @@ -195,12 +195,12 @@ export function InsertToolbarButton(props: DropdownMenuProps) { {groups.map(({ group, items }) => ( - + {items.map(({ icon, label, value, onSelect, focusEditor }) => ( -
+
{icon} {label || value}
diff --git a/surfsense_web/components/ui/turn-into-toolbar-button.tsx b/surfsense_web/components/ui/turn-into-toolbar-button.tsx index 507344ce2..4b8c80c8e 100644 --- a/surfsense_web/components/ui/turn-into-toolbar-button.tsx +++ b/surfsense_web/components/ui/turn-into-toolbar-button.tsx @@ -172,7 +172,7 @@ export function TurnIntoToolbarButton({ tooltip = 'Turn into', ...props }: Dropd {turnIntoItems.map(({ icon, label, value: itemValue }) => ( @@ -180,7 +180,7 @@ export function TurnIntoToolbarButton({ tooltip = 'Turn into', ...props }: Dropd - {icon} + {icon} {label} ))}