1. Make Unlogged switch in table as read only.

2. Fix a console warning when saving node data.

Fixes #6778
This commit is contained in:
Aditya Toshniwal
2021-09-28 17:48:09 +05:30
committed by Akshay Joshi
parent 787a441343
commit 08706ba6b2
4 changed files with 23 additions and 9 deletions

View File

@@ -708,7 +708,7 @@ export default class TableSchema extends BaseUISchema {
},{
id: 'relpersistence', label: gettext('Unlogged?'), cell: 'switch',
type: 'switch', mode: ['properties', 'create', 'edit'],
disabled: obj.inSchemaWithModelCheck,
readonly: obj.inSchemaWithModelCheck,
group: 'advanced',
},{
id: 'conname', label: gettext('Primary key'), cell: 'text',