Joystream Stats преди 2 години
родител
ревизия
10593a4567
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      src/components/Councils/Election.tsx

+ 3 - 1
src/components/Councils/Election.tsx

@@ -156,10 +156,12 @@ const Election = (props: IState) => {
                   />
                 </Grid>
               </Grid>
-              {votes.length && (
+              {votes.length ? (
                 <Grid item lg={12} className={classes.applicants}>
                   <Typography variant="h5">{`Votes`}</Typography>
                 </Grid>
+              ) : (
+                ``
               )}
               <Grid item lg={12} className={classes.applicants}>
                 <Grid container spacing={1} className={classes.applicants}>