gantt-task-react-powern 0.4.23 → 0.4.24
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -2797,7 +2797,7 @@ var Gantt = function Gantt(_ref) {
|
|
|
2797
2797
|
function colorPath(path, color, tasks) {
|
|
2798
2798
|
for (var i = 0; i < path.length; i++) {
|
|
2799
2799
|
for (var j = 0; j < tasks.length; j++) {
|
|
2800
|
-
if (path[i].id.startsWith(tasks[j].id + ".")) {
|
|
2800
|
+
if (path[i].id.startsWith(tasks[j].id + ".") || path[i].id === tasks[j].id) {
|
|
2801
2801
|
var _tasks$j$styles;
|
|
2802
2802
|
|
|
2803
2803
|
var _styles = (_tasks$j$styles = tasks[j].styles) != null ? _tasks$j$styles : {};
|