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.modern.js
CHANGED
|
@@ -441,7 +441,7 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
|
|
|
441
441
|
}, tasks.map(function (t) {
|
|
442
442
|
var expanderSymbol = "";
|
|
443
443
|
|
|
444
|
-
if (!leafTaskIds.has(t.id)) {
|
|
444
|
+
if (!(leafTaskIds.has(t.id) || t.type === "milestone")) {
|
|
445
445
|
if (t.hideChildren === false) {
|
|
446
446
|
expanderSymbol = "▼";
|
|
447
447
|
} else if (t.hideChildren === true) {
|
|
@@ -490,7 +490,7 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
|
|
|
490
490
|
style: {
|
|
491
491
|
paddingLeft: t.depth * 4 + "px"
|
|
492
492
|
}
|
|
493
|
-
}, !leafTaskIds.has(t.id) ? React.createElement("div", {
|
|
493
|
+
}, !(leafTaskIds.has(t.id) || t.type === "milestone") ? React.createElement("div", {
|
|
494
494
|
className: styles$1.taskListExpander,
|
|
495
495
|
onClick: function onClick() {
|
|
496
496
|
return onExpanderClick(t);
|