Skip to content

Commit 4262edd

Browse files
sexta13bbmoz
authored andcommitted
fix #153534540 (#189)
1 parent fea72df commit 4262edd

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

client/components/Project/Project.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,11 @@ class Project extends Component {
2626
renderProjectApplicationResult (project) {
2727
const applied = this.getAppliedStatus()
2828
const isContact = this.isUserTypeContact()
29-
if (applied && !isContact) {
30-
return (
31-
<span className={styles.projectApplyPass}>&#10004;</span>
32-
)
33-
} else if (!isContact) {
34-
return (
35-
<span className={styles.projectApplyFail}>&#10007;</span>
36-
)
29+
if (this.props.authenticated && !isContact) {
30+
return applied ? <span className={styles.projectApplyPass}>&#10004;</span>
31+
: <span className={styles.projectApplyFail}>&#10007;</span>
3732
}
33+
return <span />
3834
}
3935

4036
getAppliedStatus () {

0 commit comments

Comments
 (0)