@neovici/cosmoz-bottom-bar 5.1.0 → 5.1.1
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/cosmoz-bottom-bar.js +1 -1
- package/package.json +1 -1
package/cosmoz-bottom-bar.js
CHANGED
|
@@ -273,7 +273,7 @@ class CosmozBottomBar extends PolymerElement {
|
|
|
273
273
|
return FlattenedNodesObserver.getFlattenedNodes(this)
|
|
274
274
|
.filter(this._isActionNode)
|
|
275
275
|
.filter(element => !element.hidden)
|
|
276
|
-
.sort((a, b) => a.dataset.index - b.dataset.index);
|
|
276
|
+
.sort((a, b) => (a.dataset.index ?? 0) - (b.dataset.index ?? 0 ));
|
|
277
277
|
}
|
|
278
278
|
/**
|
|
279
279
|
* Layout the actions available as buttons or menu items
|
package/package.json
CHANGED