mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
We have defaults for switch display now, so no need to set the options explicitly.
This commit is contained in:
@@ -110,12 +110,7 @@ function($, _, S, pgAdmin, pgBrowser, Backform, alertify) {
|
||||
select2: { allowClear: false }
|
||||
},{
|
||||
id: 'is_sys_object', label:'{{ _('System schema?') }}',
|
||||
cell: 'switch', type: 'switch', mode: ['properties'], disabled: true,
|
||||
options: {
|
||||
'onText': 'Yes', 'offText': 'No',
|
||||
'onColor': 'success', 'offColor': 'primary',
|
||||
'size': 'small'
|
||||
}
|
||||
cell: 'switch', type: 'switch', mode: ['properties'], disabled: true
|
||||
},{
|
||||
id: 'description', label:'{{ _('Comment') }}', cell: 'string',
|
||||
type: 'multiline'
|
||||
|
||||
Reference in New Issue
Block a user