We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 032c4ef commit 0cda9eaCopy full SHA for 0cda9ea
src/shared/components/Dashboard/GigsFeed/index.jsx
@@ -1,3 +1,4 @@
1
+/* eslint-disable no-nested-ternary */
2
/**
3
* Gigs Feed component
4
*/
@@ -27,8 +28,8 @@ export default function GigsFeed({
27
28
</a>
29
</div>
30
<Scrollbars styleName="gigs">
- {loading || !gigs ? <div styleName="loading"><LoadingIndicator /></div>
31
- : gigs.map(gig => (
+ {loading ? <div styleName="loading"><LoadingIndicator /></div>
32
+ : gigs.message ? <span>{gigs.message}</span> : gigs.map(gig => (
33
<div styleName="row" key={`dashboard-gigs-feed-${gig.externalId}`}>
34
<a
35
href={`${config.URL.COMMUNITY_APP}/gigs/${gig.externalId}`}
0 commit comments