упразднение старого объекта аккаунта

This commit is contained in:
2025-02-18 20:14:14 +03:00
parent 794097f81f
commit 1b4b375f39
28 changed files with 135 additions and 193 deletions

View File

@@ -425,11 +425,11 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
break;
}
*/
lAccountName.setText(Utils_.Brackets(Global.normalProperties.Name));
lAccountMail.setText(Utils_.Brackets(Global.normalProperties.Email));
lAccountRole.setText(Utils_.Brackets(Global.normalProperties.Role.getDescription()));
System.out.println("ROLE IS "+Global.normalProperties.Role.getDescription());
switch (Global.normalProperties.Role) {
lAccountName.setText(Utils_.Brackets(Global.mainModule.getAccount().name));
lAccountMail.setText(Utils_.Brackets(Global.mainModule.getAccount().email));
lAccountRole.setText(Utils_.Brackets(Global.mainModule.getAccount().role.getDescription()));
System.out.println("ROLE IS "+Global.mainModule.getAccount().role.getDescription());
switch (Global.mainModule.getAccount().role) {
case Undefined:
setUdefinedRights();
break;