@salesforcedevs/docs-components 1.3.227-newdocux-alpha-m2 → 1.3.227-newdocux-alpha4
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
|
@@ -44,7 +44,7 @@ export default class VersionPicker extends LightningElement {
|
|
|
44
44
|
|
|
45
45
|
@api
|
|
46
46
|
get hideBadge() {
|
|
47
|
-
return
|
|
47
|
+
return this._hideBadge;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
set hideBadge(value) {
|
|
@@ -54,4 +54,8 @@ export default class VersionPicker extends LightningElement {
|
|
|
54
54
|
private get showVersionPicker() {
|
|
55
55
|
return this._versions && this._versions.length !== 0;
|
|
56
56
|
}
|
|
57
|
+
|
|
58
|
+
private get showLatestTag(): boolean {
|
|
59
|
+
return !this.hideBadge;
|
|
60
|
+
}
|
|
57
61
|
}
|