mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
Handle the case of https://github.com/discourse/DiscoTOC doing this kind of setup: ``` return { action: "insertDtoc", icon: "align-left", label: themePrefix("insert_table_of_contents"), condition: !composerController.get("model.canCategorize") }; ``` In this case there's no function to call, it's already set.