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

Commit 3cd4416

Browse files
committed
forgot this bit
1 parent 2e4317a commit 3cd4416

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

assets/javascripts/discourse/connectors/post-text-buttons/ai-post-helper-trigger.gjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ export default class AiPostHelperTrigger extends Component {
1919
"post-text-selection-toolbar"
2020
);
2121

22-
MENU_STATES = {
23-
triggers: "TRIGGERS",
24-
options: "OPTIONS",
22+
// capture the state at the moment the toolbar is rendered
2523
// so we ensure change of state (selection change for example)
2624
// is not impacting the menu data
2725
menuData = {

0 commit comments

Comments
 (0)