diff --git a/src/main/frontend/components/editor.cljs b/src/main/frontend/components/editor.cljs index 95da13cc5..9636bbac0 100644 --- a/src/main/frontend/components/editor.cljs +++ b/src/main/frontend/components/editor.cljs @@ -54,7 +54,8 @@ command-doc (get item 2) plugin-id (get-in item [1 1 1 :pid]) doc (when (state/show-command-doc?) command-doc) - icon-name (some-> item (get 3) (name)) + options (some-> item (get 3)) + icon-name (some-> (if (map? options) :icon options) (name)) command-name (if icon-name [:span.flex.items-center.gap-1 (shui/tabler-icon icon-name)