From 7a776947421e52bb8cd58e78712817996dfcc508 Mon Sep 17 00:00:00 2001 From: Thomas Nabord Date: Mon, 27 Mar 2023 09:34:08 +0100 Subject: [PATCH] Fix alignment of data in product feed table when all destination do not have the same status --- .../product-feed-table-status-details-row.vue | 13 ++++++++----- .../product-feed-table-status-details.stories.ts | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/_dev/apps/ui/src/components/product-feed-page/product-feed-table-status-details-row.vue b/_dev/apps/ui/src/components/product-feed-page/product-feed-table-status-details-row.vue index 77f350c09c..22cfdd6477 100644 --- a/_dev/apps/ui/src/components/product-feed-page/product-feed-table-status-details-row.vue +++ b/_dev/apps/ui/src/components/product-feed-page/product-feed-table-status-details-row.vue @@ -2,14 +2,14 @@ {{ product.id }}{{ +product.attribute > 0 ? '‑' + product.attribute : '' }} @@ -53,7 +53,7 @@ s.status === ProductStatus.Disapproved).length; + }, merchantCenterWebsitePageUrl() { const {id} = this.$store.state.accounts.googleMerchantAccount; diff --git a/_dev/apps/ui/stories/product-feed-table-status-details.stories.ts b/_dev/apps/ui/stories/product-feed-table-status-details.stories.ts index 4d7e28df6e..84853b26a0 100644 --- a/_dev/apps/ui/stories/product-feed-table-status-details.stories.ts +++ b/_dev/apps/ui/stories/product-feed-table-status-details.stories.ts @@ -165,7 +165,7 @@ TableStatusDetails.parameters = { statuses: [ { destination: "Shopping", - status: "disapproved", + status: "approved", countries: ["GB"], }, {