Skip to content

Commit d5d232b

Browse files
committed
[FIX] developer/frontend: typo in the user menu registry example
closes #2039 X-original-commit: 6d30d81 Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
1 parent 5ddc402 commit d5d232b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/developer/reference/frontend/registries.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Example:
298298
registry.category("user_menuitems").add("my item", (env) => {
299299
return {
300300
description: env._t("Technical Settings"),
301-
callback: () => { env.services.action_manager.doAction(3); };
301+
callback: () => { env.services.action_manager.doAction(3); },
302302
hide: (Math.random() < 0.5),
303303
};
304-
}
304+
});

0 commit comments

Comments
 (0)