on master help sign in
grants: fix apply now buttons
commit0bbe4112e8bbc99c3ac3ecac77945e4e7d298e3e authorMatilde Park <matilde.park@urbit.org> dateWed 24 Aug 2022, 11:31 (4 years ago) parente3bd1c0
1 file changed+1−1
pages/grants/[slug].js+1−1
pages/grants/[slug].js+1−1
@@ -22,7 +22,7 @@ export default function Grant({ post, markdown, search }) {
2222 if (!router.isFallback && !post?.slug) {
2323 return <ErrorPage />;
2424 }
25− const isOpen = !post?.extra?.completed && post?.extra?.assignee === "";
25+ const isOpen = !post?.extra?.completed && post?.extra?.assignee?.[0] === "";
2626 const canApply = isOpen && post?.extra?.work_request_link;
2727 const assignee = post?.extra?.assignee;
2828 const mentor = post.extra.mentor || post.extra.champion;