mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-07 22:53:45 -06:00
Fix an issue where constraint check control is enabled in edit table dialog. #7164
This commit is contained in:
parent
d09833744a
commit
9ad223c41c
@ -67,7 +67,7 @@ export default class CheckConstraintSchema extends BaseUISchema {
|
||||
},{
|
||||
id: 'consrc', label: gettext('Check'), type: 'multiline', cell: 'text',
|
||||
group: gettext('Definition'), mode: ['properties', 'create', 'edit'],
|
||||
readonly: obj.isReadonly, editable: true, noEmpty: true,
|
||||
readonly: obj.isReadonly, noEmpty: true, editable: (state) => {return obj.isNew(state);},
|
||||
},{
|
||||
id: 'connoinherit', label: gettext('No inherit?'), type: 'switch', cell: 'switch',
|
||||
group: gettext('Definition'), mode: ['properties', 'create', 'edit'], min_version: 90200,
|
||||
|
Loading…
Reference in New Issue
Block a user