diff --git a/src/main/resources/assets/admin/common/js/ui/button/ActionButton.ts b/src/main/resources/assets/admin/common/js/ui/button/ActionButton.ts index 9e07eec16..af673c4ad 100644 --- a/src/main/resources/assets/admin/common/js/ui/button/ActionButton.ts +++ b/src/main/resources/assets/admin/common/js/ui/button/ActionButton.ts @@ -121,7 +121,7 @@ export class ActionButton this.action = action; this.createTooltip(); - this.syncButtonWithAction(); + this.whenRendered(this.syncButtonWithAction); } private onHelpKeyPressed(e: KeyboardEvent) {