From 2c10a1d74462fe7507892546b42ba9f4753c66d3 Mon Sep 17 00:00:00 2001 From: alansemenov Date: Mon, 30 Sep 2024 16:23:00 +0200 Subject: [PATCH] Decorate ActionButton on render --- .../resources/assets/admin/common/js/ui/button/ActionButton.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {