@levi-gemcommerce/analytics 1.0.0-dev.46 → 1.0.0-dev.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -25744,7 +25744,7 @@ const OrderListingLatestTable = ({ source, data, callbacks }) => {
|
|
|
25744
25744
|
const { orders, isLoading, totalFilteredOrders, totalStoreOrders } = data;
|
|
25745
25745
|
const { onViewAllOrders, onViewAllStoreOrders, onViewOrderJourney, onViewOrderDetails } = callbacks ?? {};
|
|
25746
25746
|
const { t } = useTranslation();
|
|
25747
|
-
const isEmpty = orders.length === 0;
|
|
25747
|
+
const isEmpty = !isLoading && orders.length === 0;
|
|
25748
25748
|
const sourceText = source === EReportSource.CAMPAIGN ? 'experiment' : source;
|
|
25749
25749
|
const tooltipContent = getOrderSourceTooltipContent(source);
|
|
25750
25750
|
const fixedColumns = useMemo(() => {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -25744,7 +25744,7 @@ const OrderListingLatestTable = ({ source, data, callbacks }) => {
|
|
|
25744
25744
|
const { orders, isLoading, totalFilteredOrders, totalStoreOrders } = data;
|
|
25745
25745
|
const { onViewAllOrders, onViewAllStoreOrders, onViewOrderJourney, onViewOrderDetails } = callbacks ?? {};
|
|
25746
25746
|
const { t } = useTranslation();
|
|
25747
|
-
const isEmpty = orders.length === 0;
|
|
25747
|
+
const isEmpty = !isLoading && orders.length === 0;
|
|
25748
25748
|
const sourceText = source === EReportSource.CAMPAIGN ? 'experiment' : source;
|
|
25749
25749
|
const tooltipContent = getOrderSourceTooltipContent(source);
|
|
25750
25750
|
const fixedColumns = useMemo(() => {
|