File tree Expand file tree Collapse file tree
components/ItemSelectInput Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ const USER_GROUPS = gql`
6767query UserGroupOptions($search: String, $offset: Int!, $limit: Int!) {
6868 contributorUserGroups(
6969 filters: {
70- name: {iContains: $search}
70+ name: $search
7171 }
7272 pagination: {
7373 limit: $limit,
Original file line number Diff line number Diff line change @@ -441,8 +441,7 @@ function StatsBoard(props: Props) {
441441 )?.totalArea;
442442 */
443443 const streetTotalArea = areaSwipedByProjectType ?. find (
444- // TODO: Change the type to street
445- ( project ) => project . projectType === COMPLETENESS ,
444+ ( project ) => project . projectType === STREET ,
446445 ) ?. totalArea ;
447446
448447 const completenessTotalArea = areaSwipedByProjectType ?. find (
@@ -466,8 +465,7 @@ function StatsBoard(props: Props) {
466465 ) ?. totalSwipes ;
467466
468467 const streetTotalSwipes = swipeByProjectType ?. find (
469- // TODO: Change the type to street
470- ( project ) => project . projectType === COMPLETENESS ,
468+ ( project ) => project . projectType === STREET ,
471469 ) ?. totalSwipes ;
472470
473471 const completenessTotalSwipes = swipeByProjectType ?. find (
@@ -666,7 +664,7 @@ function StatsBoard(props: Props) {
666664 Area Swipes
667665 </ div >
668666 ) }
669- subHeading = "Find features "
667+ subHeading = "Find Features "
670668 variant = "stat"
671669 />
672670 < InformationCard
@@ -782,7 +780,7 @@ function StatsBoard(props: Props) {
782780 ) }
783781 label = { (
784782 < div className = { styles . infoLabel } >
785- Streets Viewed
783+ Street Viewed
786784 </ div >
787785 ) }
788786 subHeading = "View Streets"
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ const USER_STATS = gql`
5555 }
5656 contributorUserGroups(
5757 pagination: {limit: $limit, offset: $offset}
58- filters: {firebaseId : $pk}
58+ filters: {userFirebaseId : $pk}
5959 ) {
6060 results {
6161 id
You can’t perform that action at this time.
0 commit comments