Ensure all object types have a System XXX? property. Fixes #1257

This commit is contained in:
Aditya Toshniwal
2020-04-23 17:31:40 +05:30
committed by Akshay Joshi
parent 2b5c90e379
commit dfb74904ed
64 changed files with 281 additions and 35 deletions

View File

@@ -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,