@dataloop-ai/components 0.19.111 → 0.19.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
<slot>
|
|
54
54
|
{{
|
|
55
55
|
capitalized
|
|
56
|
-
?
|
|
57
|
-
:
|
|
56
|
+
? displayLabel.toString().toLowerCase()
|
|
57
|
+
: displayLabel
|
|
58
58
|
}}
|
|
59
59
|
</slot>
|
|
60
60
|
</dl-checkbox>
|
|
@@ -69,7 +69,9 @@
|
|
|
69
69
|
>
|
|
70
70
|
<slot>
|
|
71
71
|
{{
|
|
72
|
-
capitalized
|
|
72
|
+
capitalized
|
|
73
|
+
? displayLabel.toString().toLowerCase()
|
|
74
|
+
: displayLabel
|
|
73
75
|
}}
|
|
74
76
|
</slot>
|
|
75
77
|
</div>
|
|
@@ -191,6 +193,9 @@ export default defineComponent({
|
|
|
191
193
|
},
|
|
192
194
|
indent(): { padding: string } {
|
|
193
195
|
return { padding: `0 ${this.depth * 30}px 0 0` }
|
|
196
|
+
},
|
|
197
|
+
displayLabel(): string {
|
|
198
|
+
return String(this.label ? this.label : this.value)
|
|
194
199
|
}
|
|
195
200
|
},
|
|
196
201
|
methods: {
|