-
Notifications
You must be signed in to change notification settings - Fork 6
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
studio: show a message or error component when there are no claimants #669 #924
Conversation
Deploying dega-docs with Cloudflare Pages
|
studio/src/pages/claims/index.js
Outdated
@@ -86,6 +116,8 @@ function Claims({ permission }) { | |||
return { claims: [], total: 0, loading: state.claims.loading }; | |||
}); | |||
|
|||
console.log(ratingsCount, loading) |
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.
@ishpaul777 remove logs
} | ||
/>) | ||
} | ||
|
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.
@ishpaul777 can the case when both ratings and claimants aren't present be handled?
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.
you mean showing both at same time ?
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.
we can refactor this to have create rating and create claimants button inside and then conditionally render both or one.
The merge-base changed after approval.
The merge-base changed after approval.
@shreeharsha-factly please merge. |
#669