diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/EnumSwitch.vue b/platypush/backend/http/webapp/src/components/panels/Entities/EnumSwitch.vue index 501c87bd..a79554f5 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/EnumSwitch.vue +++ b/platypush/backend/http/webapp/src/components/panels/Entities/EnumSwitch.vue @@ -18,7 +18,7 @@ :class="{'fa-angle-up': expanded, 'fa-angle-down': !expanded}" /> @@ -26,9 +26,15 @@
- -
@@ -53,7 +59,7 @@ export default { computed: { hasValues() { - return !!this?.value?.values?.length + return !!Object.values(this?.value?.values || {}).length } }, @@ -108,8 +114,13 @@ export default { } .body { + padding: 1em !important; + display: flex; + .row { + width: 100%; display: flex; + text-align: center; .icon { width: 2em; @@ -117,7 +128,7 @@ export default { } .input { - width: calc(100% - 2em); + width: 100%; select { width: 100%;