mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-13 01:22:01 -06:00
Ensure that the user should be allowed to set the schema of an extension while creating it. Fixes #6963
This commit is contained in:
parent
61b440261f
commit
2c02e6fc23
@ -22,7 +22,8 @@ Bug fixes
|
|||||||
*********
|
*********
|
||||||
|
|
||||||
| `Issue #6906 <https://redmine.postgresql.org/issues/6906>`_ - Fixed an issue where referenced table drop-down should be disabled in foreign key -> columns after one row is added.
|
| `Issue #6906 <https://redmine.postgresql.org/issues/6906>`_ - Fixed an issue where referenced table drop-down should be disabled in foreign key -> columns after one row is added.
|
||||||
| `Issue #6964 <https://redmine.postgresql.org/issues/6964>`_ - Fixed an issue where properties of the database should not be visible after removing the database.
|
| `Issue #6955 <https://redmine.postgresql.org/issues/6955>`_ - Ensure that sort order should be maintained when renaming a server group.
|
||||||
|
| `Issue #6963 <https://redmine.postgresql.org/issues/6963>`_ - Ensure that the user should be allowed to set the schema of an extension while creating it.
|
||||||
| `Issue #6986 <https://redmine.postgresql.org/issues/6986>`_ - Fixed an issue where the user can't debug function with timestamp parameter.
|
| `Issue #6986 <https://redmine.postgresql.org/issues/6986>`_ - Fixed an issue where the user can't debug function with timestamp parameter.
|
||||||
| `Issue #6989 <https://redmine.postgresql.org/issues/6989>`_ - Fixed an issue where the Change Password menu option is missing for internal authentication source when more than one authentication source is defined.
|
| `Issue #6989 <https://redmine.postgresql.org/issues/6989>`_ - Fixed an issue where the Change Password menu option is missing for internal authentication source when more than one authentication source is defined.
|
||||||
| `Issue #7005 <https://redmine.postgresql.org/issues/7005>`_ - Fixed an issue where On-demand rows throw an error when any row cell is edited and saved it then scroll to get more rows.
|
| `Issue #7005 <https://redmine.postgresql.org/issues/7005>`_ - Fixed an issue where On-demand rows throw an error when any row cell is edited and saved it then scroll to get more rows.
|
||||||
|
@ -93,14 +93,14 @@ export default class ExtensionsSchema extends BaseUISchema {
|
|||||||
id: 'schema', label: gettext('Schema'), type: 'select',
|
id: 'schema', label: gettext('Schema'), type: 'select',
|
||||||
mode: ['properties', 'create', 'edit'], group: gettext('Definition'),
|
mode: ['properties', 'create', 'edit'], group: gettext('Definition'),
|
||||||
first_empty: true, deps: ['name'],
|
first_empty: true, deps: ['name'],
|
||||||
controlProps: { allowClear: false }, editable: false,
|
controlProps: { allowClear: true }, editable: false,
|
||||||
options: this.schemaList,
|
options: this.schemaList,
|
||||||
disabled: function (state) {
|
disabled: function (state) {
|
||||||
/*
|
if (!obj.isNew(state) && !state.relocatable) {
|
||||||
* enable or disable schema field if model's relocatable
|
return true;
|
||||||
* attribute is True or False
|
}
|
||||||
*/
|
|
||||||
return (!state.relocatable);
|
return false;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user