Skip to content

Commit e7efcd8

Browse files
refactor NewAccountPaymentAction to simplify color settings and enhance action type
Signed-off-by: Mario Serrano <[email protected]>
1 parent 449bb4d commit e7efcd8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sources/ui/src/main/java/tools/dynamia/modules/saas/ui/action/NewAccountPaymentAction.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ public NewAccountPaymentAction() {
4040
setName(msg("newPayment"));
4141
setApplicableClass(Account.class);
4242
setImage("payment");
43-
setColor("white");
44-
setBackground(".green");
4543
setMenuSupported(true);
46-
setAttribute("showLabel", true);
44+
setShowLabel(true);
4745
setGroup(ActionGroup.get("CRUD"));
46+
setType("success");
4847
}
4948

5049
@Override

0 commit comments

Comments
 (0)