@hypericon/mico 0.3.18 → 0.3.19

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.
@@ -216,7 +216,7 @@ function createTree() {
216
216
  });
217
217
  }),
218
218
  ]) : [],
219
- (canHaveChildren && !hasChildren && emptyChildrenMessage !== undefined) ? [
219
+ (canHaveChildren && !hasChildren && expanded && emptyChildrenMessage !== undefined) ? [
220
220
  (0, mithril_1.default)("span.mico-tree-empty-children", {
221
221
  style: `margin-left: ${attrs.toggleButtonWidth};`,
222
222
  }, emptyChildrenMessage)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypericon/mico",
3
- "version": "0.3.18",
3
+ "version": "0.3.19",
4
4
  "description": "UI components and utilities with Mithril",
5
5
  "author": "Ed Johnson, Hypericon Ltd",
6
6
  "license": "MIT",