mirror of
https://github.com/directus/directus.git
synced 2026-01-27 17:18:05 -05:00
change order of toggle icons (#4284)
This commit is contained in:
@@ -10,18 +10,6 @@ export default defineInterface(({ i18n }) => ({
|
||||
types: ['boolean'],
|
||||
recommendedDisplays: ['boolean'],
|
||||
options: [
|
||||
{
|
||||
field: 'iconOff',
|
||||
name: i18n.t('icon_off'),
|
||||
type: 'string',
|
||||
meta: {
|
||||
width: 'half',
|
||||
interface: 'icon',
|
||||
},
|
||||
schema: {
|
||||
default_value: 'check_box_outline_blank',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'iconOn',
|
||||
name: i18n.t('icon_on'),
|
||||
@@ -34,6 +22,18 @@ export default defineInterface(({ i18n }) => ({
|
||||
default_value: 'check_box',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'iconOff',
|
||||
name: i18n.t('icon_off'),
|
||||
type: 'string',
|
||||
meta: {
|
||||
width: 'half',
|
||||
interface: 'icon',
|
||||
},
|
||||
schema: {
|
||||
default_value: 'check_box_outline_blank',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'label',
|
||||
name: i18n.t('label'),
|
||||
|
||||
Reference in New Issue
Block a user