mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure all object types have a System XXX? property. Fixes #1257
This commit is contained in:
committed by
Akshay Joshi
parent
2b5c90e379
commit
dfb74904ed
@@ -78,6 +78,7 @@ define('pgadmin.node.resource_group', [
|
||||
defaults: {
|
||||
oid: undefined,
|
||||
name: undefined,
|
||||
is_sys_obj: undefined,
|
||||
cpu_rate_limit: 0.0,
|
||||
dirty_rate_limit: 0.0,
|
||||
},
|
||||
@@ -89,6 +90,9 @@ define('pgadmin.node.resource_group', [
|
||||
},{
|
||||
id: 'name', label: gettext('Name'), cell: 'string',
|
||||
type: 'text',
|
||||
},{
|
||||
id: 'is_sys_obj', label: gettext('System resource group?'),
|
||||
cell:'boolean', type: 'switch', mode: ['properties'],
|
||||
},{
|
||||
id: 'cpu_rate_limit', label: gettext('CPU rate limit (percentage)'), cell: 'string',
|
||||
type: 'numeric', min:0, max:16777216,
|
||||
|
||||
Reference in New Issue
Block a user