Fix conditional

This commit is contained in:
Jessica Lawshe 2018-04-09 12:54:34 -05:00
parent f44ddcb928
commit 5683f48d97

View file

@ -76,7 +76,7 @@ block content
br
a.btn.btn-info(
href="/register"
style=(getLoggedInUserId() === undefined ? "" : "visibility: hidden")
style=(getLoggedInUserId() === null ? "" : "visibility: hidden")
) #{translate("sign_up_now")}
.col-md-4
.card.card-highlighted
@ -142,7 +142,7 @@ block content
br
a.btn.btn-info(
href="/register"
style=(getLoggedInUserId() === undefined ? "" : "visibility: hidden")
style=(getLoggedInUserId() === null ? "" : "visibility: hidden")
) #{translate("sign_up_now")}
.col-md-4