This entity is shared and can be used by all applications.
@@ -18,6 +18,7 @@
+
@@ -136,7 +137,7 @@
this.hasTabs = this.tabs.length > 0;
- if (!this.tabs.length)
+ if (this.tabs.length < 1)
{
this.tabs.push({
label: '',
diff --git a/zero.Web.UI/App/editor/fields/toggle.vue b/zero.Web.UI/App/editor/fields/toggle.vue
index c36e65f8..8594314e 100644
--- a/zero.Web.UI/App/editor/fields/toggle.vue
+++ b/zero.Web.UI/App/editor/fields/toggle.vue
@@ -1,5 +1,5 @@
-
+
@@ -9,7 +9,12 @@
value: {
type: Boolean,
default: false
- }
+ },
+ disabled: {
+ type: Boolean,
+ default: false
+ },
+ config: Object
}
}
\ No newline at end of file