handle merge issues in chart and build error
This commit is contained in:
parent
56c8b31938
commit
e0264030f5
@ -52,7 +52,7 @@ const HorizontalBarChart = ({
|
||||
|
||||
// Replace 0 with 1 for visual purposes, but display "0%" in labels
|
||||
const adjustedSeriesData = sortedSeriesData.map((val) =>
|
||||
val === 0 ? 0.1 : val
|
||||
val === 0 ? 0.5 : val
|
||||
);
|
||||
|
||||
// Dynamically adjust chart height if only one data point
|
||||
|
||||
@ -5,7 +5,6 @@ import { z } from "zod";
|
||||
|
||||
import { useActivitiesMaster } from "../../../hooks/masterHook/useMaster";
|
||||
import { useProjectDetails } from "../../../hooks/useProjects";
|
||||
import useSelect from "../../common/useSelect";
|
||||
import { useDispatch, useSelector } from "react-redux";
|
||||
import ProjectRepository from "../../../repositories/ProjectRepository";
|
||||
import {
|
||||
@ -85,7 +84,7 @@ const EditActivityModal = ({
|
||||
floorId: floor?.id,
|
||||
workAreaId: workArea?.id,
|
||||
};
|
||||
console.log(finalData)
|
||||
console.log(finalData);
|
||||
|
||||
ProjectRepository.manageProjectTasks([finalData])
|
||||
.then((response) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user