-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrates sponsors API to sponsors route #580
Conversation
Codecov Report
@@ Coverage Diff @@
## development #580 +/- ##
===============================================
- Coverage 49.24% 48.71% -0.54%
===============================================
Files 297 297
Lines 1917 1938 +21
===============================================
Hits 944 944
- Misses 973 994 +21
Continue to review full report at Codecov.
|
This will be merged after fossasia/open-event-server#4201 & fossasia/open-event-server#4203 are resolved on the server. |
@niranjan94 This is working now, as expected however there is one thing I needed to confirm before this merges, will we be deleting all the sponsors if the user turns the sponsors off? |
@geekyd yes. We will be. |
@niranjan94 Please review. Everything seems to work now. Thanks |
Hi @geekyd! It looks like one or more of your builds have failed.
|
Deployment link: https://pr-580-open-event-frontend-fossasia.surge.sh |
Hi @geekyd! It looks like one or more of your builds have failed.
|
Deployment link: https://pr-580-open-event-frontend-fossasia.surge.sh |
}, | ||
|
||
didInsertElement() { | ||
if (this.get('data.event.sponsors') && !this.get('data.event.sponsors').toArray().length) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data.event.sponsors.length will give you length. No need to convert to array.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Deployment link: https://pr-580-open-event-frontend-fossasia.surge.sh |
development
branch.Changes proposed in this pull request:
Fixes #579