FIX: New user sessions redirected weirdly on login-required sites (#80)

This commit is contained in:
Justin DiRose 2021-06-22 10:04:02 -05:00 committed by GitHub
parent 0b2c8bd513
commit eee1adc40f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export default Component.extend({
}
}
if (this.showContributors) {
if (this.currentUser && this.showContributors) {
return ajax("/s/contributors", { method: "get" }).then((result) => {
this.setProperties({
contributors: result,