Skip to content

Commit

Permalink
fix: restore not working for archived goals
Browse files Browse the repository at this point in the history
  • Loading branch information
Tushar-4781 committed Jun 6, 2024
1 parent 4c89da8 commit e69910b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/GoalsComponents/GoalsAccordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const GoalsAccordion: React.FC<IGoalsAccordionProps> = ({ header, goals, showAct
return (
<div className="archived-drawer">
{showGoalActions && ["archived", "deleted"].includes(showGoalActions.actionType) && (
<AccordionActions open goal={showGoalActions.goal} actionType={actionType} />
<AccordionActions open goal={showGoalActions.goal} actionType={showGoalActions.actionType} />
)}
{showGoalActions && ["hints"].includes(showGoalActions.actionType) && (
<HintsAccordionActions open goal={showGoalActions.goal} />
Expand Down

0 comments on commit e69910b

Please sign in to comment.