You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -59,6 +56,8 @@ export default function ProductFeedStatusSection() {
59
56
retrieve();
60
57
},[retrieve]);
61
58
59
+
constisReady=Number.isInteger(count);
60
+
62
61
return(
63
62
<Section
64
63
className="gla-product-feed-status-section"
@@ -77,15 +76,28 @@ export default function ProductFeedStatusSection() {
77
76
<Section.Card.Body>
78
77
<Flexalign="flex-start"gap={3}>
79
78
<FlexItem>
80
-
<SyncIcon/>
79
+
{isReady ? (
80
+
<SuccessIconsize={20}/>
81
+
) : (
82
+
<Spinner/>
83
+
)}
81
84
</FlexItem>
82
85
<FlexBlock>
83
86
<Section.Card.Title>
84
-
{__(
85
-
'Your product listings are being uploaded',
86
-
'google-listings-and-ads'
87
+
{isReady ? (
88
+
<>
89
+
{__(
90
+
'Your product listings are ready to be uploaded',
91
+
'google-listings-and-ads'
92
+
)}
93
+
<ProductQuantityquantity={count}/>
94
+
</>
95
+
) : (
96
+
__(
97
+
'Preparing your product listings',
98
+
'google-listings-and-ads'
99
+
)
87
100
)}
88
-
<ProductQuantityquantity={count}/>
89
101
</Section.Card.Title>
90
102
{__(
91
103
'Google will review your product listings within 3-5 days. Once approved, your products will automatically be live and searchable on Google. You’ll be notified if there are any product feed issues.',
0 commit comments