@energysage/es-ds-components 3.0.4 → 3.0.6
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.
|
@@ -51,6 +51,9 @@ export default {
|
|
|
51
51
|
checkboxId() {
|
|
52
52
|
return `menu-${this.name}`;
|
|
53
53
|
},
|
|
54
|
+
resolvedEsNavBarLink() {
|
|
55
|
+
return resolveComponent('es-nav-bar-link');
|
|
56
|
+
},
|
|
54
57
|
},
|
|
55
58
|
};
|
|
56
59
|
</script>
|
|
@@ -76,7 +79,7 @@ export default {
|
|
|
76
79
|
<!-- mobile link and fly-out menu trigger -->
|
|
77
80
|
<!-- eslint-disable-next-line vuejs-accessibility/label-has-for -->
|
|
78
81
|
<component
|
|
79
|
-
:is="link ?
|
|
82
|
+
:is="link ? resolvedEsNavBarLink : 'label'"
|
|
80
83
|
class="nav-link d-flex d-lg-none align-items-center w-100 h-100 px-0 py-lg-100 px-100 font-weight-bold justify-content-between"
|
|
81
84
|
:class="{ 'dropdown-label': !link }"
|
|
82
85
|
:for="link ? undefined : checkboxId"
|