mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-09 23:15:58 -06:00
fixed issue where deduplicate_items was selected for PG version 12 and below. #6374
This commit is contained in:
parent
d3753ee132
commit
b4991a49a2
@ -264,7 +264,8 @@ export class WithSchema extends BaseUISchema {
|
||||
depChange: (state, source) => {
|
||||
if (state.amname !== 'btree') {
|
||||
return {deduplicate_items:undefined};
|
||||
} else if (state.amname === 'btree' && source[0] !== 'deduplicate_items') {
|
||||
} else if (state.amname === 'btree' && source[0] !== 'deduplicate_items' &&
|
||||
withSchemaObj.node_info.server.version >= 130000) {
|
||||
return {deduplicate_items: true};
|
||||
}
|
||||
}, min_version: 130000,
|
||||
|
Loading…
Reference in New Issue
Block a user