[Legacy] Hide create portal user on created portal users

- fix spacing
This commit is contained in:
Jack Anderson 2024-05-20 10:42:40 +01:00 committed by Clemente Raposo
parent 2a346a0569
commit 1eb89c1886

View file

@ -229,6 +229,14 @@ $viewdefs ['Contacts'] =
]
]
],
'onCreatedUser' => [
'modes' => ['detail', 'edit', 'create'],
'params' => [
'activeOnFields' => [
'joomla_account_id' => [['operator' => 'not-empty']],
]
]
],
],
],
'enable-portal-user' => [
@ -243,7 +251,7 @@ $viewdefs ['Contacts'] =
'modes' => ['detail', 'edit', 'create'],
'params' => [
'activeOnFields' => [
' joomla_account_id' => [''],
'joomla_account_id' => [['operator' => 'is-empty']],
]
]
],
@ -269,7 +277,7 @@ $viewdefs ['Contacts'] =
'modes' => ['detail', 'edit', 'create'],
'params' => [
'activeOnFields' => [
'joomla_account_id' => [''],
'joomla_account_id' => [['operator' => 'is-empty']],
]
]
],