fix user dashboard template

This commit is contained in:
yuri
2019-07-22 18:33:44 +03:00
parent ac5b2f38d4
commit 00598170af
+1 -1
View File
@@ -115,7 +115,7 @@ Espo.define('views/user/record/edit', ['views/record/edit', 'views/user/record/d
[{"name":"portalRoles"}, {"name":"accounts"}]
]
});
if (this.getUser().isAdmin()) {
if (this.getUser().isAdmin() && this.model.isPortal()) {
layout.push({
"label": "Misc",
"name": "portalMisc",