change order of toggle icons (#4284)

This commit is contained in:
Nitwel
2021-02-25 15:55:06 +01:00
committed by GitHub
parent 8e0cce9c0b
commit 4ab1d76b2f

View File

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