mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-14 01:13:49 -06:00
Variables should have their own tab on dialogues.
This commit is contained in:
parent
83a662f798
commit
649b719845
@ -281,7 +281,7 @@ function($, _, S, pgAdmin, pgBrowser, Alertify) {
|
||||
},{
|
||||
id: 'variables', label: '{{ _('Variables') }}', type: 'collection',
|
||||
model: pgAdmin.Browser.Node.VariableModel, editable: false,
|
||||
group: '{{ _('Security') }}', mode: ['edit', 'create'],
|
||||
group: '{{ _('Variables') }}', mode: ['edit', 'create'],
|
||||
canAdd: true, canEdit: false, canDelete: true, hasRole: true,
|
||||
control: Backform.VariableCollectionControl, node: 'role'
|
||||
},{
|
||||
|
@ -452,7 +452,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify, Backform) {
|
||||
}
|
||||
},{
|
||||
id: 'variables', label: '{{ _('Variables') }}', type: 'collection',
|
||||
group: '{{ _('Security') }}', hasDatabase: true, url: 'variables',
|
||||
group: '{{ _('Variables') }}', hasDatabase: true, url: 'variables',
|
||||
model: pgBrowser.Node.VariableModel, control: 'variable-collection',
|
||||
mode: [ 'edit', 'create'], canAdd: true, canDelete: true,
|
||||
url: "variables", disabled: 'readonly'
|
||||
|
Loading…
Reference in New Issue
Block a user