qms-angular 1.1.11 → 1.1.12
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.
@@ -29942,8 +29942,8 @@
|
|
29942
29942
|
};
|
29943
29943
|
QMSNavDrawerComponent.prototype._activeNode = function () {
|
29944
29944
|
var currNode = this.openNodes[this.openNodes.length - 1];
|
29945
|
-
var idxParent = this.openNodes.length
|
29946
|
-
var parentNode = idxParent ? this.openNodes[idxParent] : '';
|
29945
|
+
var idxParent = this.openNodes.length >= 2 ? this.openNodes.length - 2 : '';
|
29946
|
+
var parentNode = idxParent !== '' ? this.openNodes[idxParent] : '';
|
29947
29947
|
this.activeNode = this.getActiveNode(currNode, parentNode);
|
29948
29948
|
};
|
29949
29949
|
QMSNavDrawerComponent.prototype.getActiveNode = function (id, parentId) {
|