Skip to content

Commit

Permalink
fix: remove recent vote filtering toggle from admin agenda section
Browse files Browse the repository at this point in the history
  • Loading branch information
lunikai committed May 29, 2024
1 parent 3f0dbc6 commit e7497e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/components/molecules/AgendaCard/Group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const Group: React.FC<Props> = ({
: Children.count(children)}
</div>
</div>
{agendaStatus === "terminated" && (
{agendaStatus === "terminated" && !admin && (
<ToggleSwitch label="최근 투표만" handleToggle={handleRecentOnly} />
)}
</div>
Expand Down

0 comments on commit e7497e0

Please sign in to comment.