File tree Expand file tree Collapse file tree
packages/round-manager/src/features/round Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ type Props = {
3939 isDirectRound ?: boolean ;
4040} ;
4141
42- export default function ApplicationsToApproveReject ( {
42+ // Direct Grant Applications to Approve/Reject
43+
44+ export default function DGApplicationsToApproveReject ( {
4345 isDirectRound = false ,
4446} : Props ) {
4547 const { id } = useParams ( ) ;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ import ViewRoundSettings from "./ViewRoundSettings";
4949import ViewRoundStats from "./ViewRoundStats" ;
5050import { RoundDates , parseRoundDates } from "../common/parseRoundDates" ;
5151import moment from "moment" ;
52- import ApplicationsToApproveReject from "./ApplicationsToApproveReject " ;
52+ import DGApplicationsToApproveReject from "./DGApplicationsToApproveReject " ;
5353import ApplicationsToReview from "./ApplicationsToReview" ;
5454
5555export const isDirectRound = ( round : Round ) =>
@@ -503,16 +503,16 @@ function GrantApplications(props: {
503503 < Tab . Panels >
504504 < Tab . Panel >
505505 { props . isDirectRound ? (
506- < ApplicationsToReview />
507- ) : (
508- < ApplicationsToApproveReject
506+ < DGApplicationsToApproveReject
509507 isDirectRound = { Boolean ( props . isDirectRound ) }
510508 />
509+ ) : (
510+ < ApplicationsToReview />
511511 ) }
512512 </ Tab . Panel >
513513 { props . isDirectRound && (
514514 < Tab . Panel >
515- < ApplicationsToApproveReject
515+ < DGApplicationsToApproveReject
516516 isDirectRound = { Boolean ( props . isDirectRound ) }
517517 />
518518 </ Tab . Panel >
Original file line number Diff line number Diff line change 77 waitFor ,
88 within ,
99} from "@testing-library/react" ;
10- import ApplicationsByStatus from "../ApplicationsToApproveReject " ;
10+ import ApplicationsByStatus from "../DGApplicationsToApproveReject " ;
1111import { makeGrantApplicationData } from "../../../test-utils" ;
1212import {
1313 ApplicationContext ,
You can’t perform that action at this time.
0 commit comments