Added assign popup dropdown, fixed the right api for my task page

This commit was merged in pull request #636.
This commit is contained in:
2024-03-11 18:15:31 +01:00
parent 00c7f65092
commit 4f675b30ef
6 changed files with 89 additions and 41 deletions
+11 -4
View File
@@ -254,10 +254,17 @@ const SuggestTask = ({ details, onClose, situation, continuePopupData }) => {
>
{pathname === "/acc-family/activities" ? (
<>
{" "}
<>
Continue <Icons name="chevron-right" />
</>
{submitTask.loading ? (
"Sending..."
) : submitTask.state === "success" ? (
"Completed"
) : submitTask.state === "bad" ? (
"An Error Occurred"
) : (
<>
Continue <Icons name="chevron-right" />
</>
)}
</>
) : (
<>