Compare commits
No commits in common. "02f37be5042d56ec46811d27fe0e848763c3eeb5" and "9aaedede208a625258b107e2696ed1441ee94ebe" have entirely different histories.
02f37be504
...
9aaedede20
@ -112,6 +112,7 @@ const TaskModel = ({
|
||||
await onSubmit(data);
|
||||
setValue("plannedWork", 0);
|
||||
setValue("completedWork", 0);
|
||||
dispatch(changeMaster("Activity"));
|
||||
setIsSubmitting(false);
|
||||
};
|
||||
|
||||
@ -212,6 +213,7 @@ const TaskModel = ({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Select Work Area */}
|
||||
{selectedFloor && (
|
||||
<div className="col-12 col-md-12">
|
||||
<label className="form-label" htmlFor="workAreaId">
|
||||
@ -245,6 +247,7 @@ const TaskModel = ({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Select Activity */}
|
||||
{selectedWorkArea && (
|
||||
<div className="col-12 col-md-12">
|
||||
<label className="form-label" htmlFor="activityID">
|
||||
@ -267,9 +270,9 @@ const TaskModel = ({
|
||||
})
|
||||
?.map((activity) => (
|
||||
<option key={activity.id} value={activity.id}>
|
||||
{
|
||||
{activity.name ||
|
||||
activity.activityName ||
|
||||
|
||||
activity.title ||
|
||||
`Unnamed (id: ${activity.id})`}
|
||||
</option>
|
||||
))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user