gantt-task-react-powern 0.4.80 → 0.4.81
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -442,7 +442,7 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
|
|
|
442
442
|
}, tasks.map(function (t) {
|
|
443
443
|
var expanderSymbol = "";
|
|
444
444
|
|
|
445
|
-
if (!leafTaskIds.has(t.id)) {
|
|
445
|
+
if (!(leafTaskIds.has(t.id) || t.type === "milestone")) {
|
|
446
446
|
if (t.hideChildren === false) {
|
|
447
447
|
expanderSymbol = "▼";
|
|
448
448
|
} else if (t.hideChildren === true) {
|
|
@@ -491,7 +491,7 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
|
|
|
491
491
|
style: {
|
|
492
492
|
paddingLeft: t.depth * 4 + "px"
|
|
493
493
|
}
|
|
494
|
-
}, !leafTaskIds.has(t.id) ? React__default.createElement("div", {
|
|
494
|
+
}, !(leafTaskIds.has(t.id) || t.type === "milestone") ? React__default.createElement("div", {
|
|
495
495
|
className: styles$1.taskListExpander,
|
|
496
496
|
onClick: function onClick() {
|
|
497
497
|
return onExpanderClick(t);
|