diff --git a/_dev/apps/ui/.storybook/preview.js b/_dev/apps/ui/.storybook/preview.js index 16f17d26fe..1a7483a68e 100644 --- a/_dev/apps/ui/.storybook/preview.js +++ b/_dev/apps/ui/.storybook/preview.js @@ -46,7 +46,6 @@ initialize({ // import showdown extension import '../showdown.js'; -import '../src/utils/Filters'; // app.scss all the styles for the module import '../src/assets/scss/app.scss'; diff --git a/_dev/apps/ui/src/components/campaign-creation/campaign-creation-filter-popin/campaign-creation-popin-recap.vue b/_dev/apps/ui/src/components/campaign-creation/campaign-creation-filter-popin/campaign-creation-popin-recap.vue index 0b7ea5a7fb..027810c8a9 100644 --- a/_dev/apps/ui/src/components/campaign-creation/campaign-creation-filter-popin/campaign-creation-popin-recap.vue +++ b/_dev/apps/ui/src/components/campaign-creation/campaign-creation-filter-popin/campaign-creation-popin-recap.vue @@ -28,7 +28,7 @@ $t('smartShoppingCampaignCreation.inputDurationLabel1') }}
- {{ newCampaign.startDate | timeConverterToDate }} + {{ startDate }}
- {{ newCampaign.dailyBudget|formatPrice(newCampaign.currencyCode) }} + {{ dailyBudget }}

@@ -111,7 +111,8 @@ import PsModal from '@/components/commons/ps-modal.vue'; import SegmentGenericParams from '@/utils/SegmentGenericParams'; import compareYears from '@/utils/CompareYears'; import {changeCountryNameToCode} from '@/utils/Countries'; -import { timeConverterToDate } from '@/utils/Dates'; +import {timeConverterToDate} from '@/utils/Dates'; +import {formatPrice} from '@/utils/Price'; export default defineComponent({ name: 'SSCCreationPopinRecap', @@ -150,6 +151,9 @@ export default defineComponent({ dimensionName() { return this.$store.state.campaigns.dimensionChosen.name; }, + startDate(): string { + return timeConverterToDate(this.newCampaign.startDate); + }, endDate() { if (this.newCampaign.endDate) { const isThereAnEndDate = compareYears(this.newCampaign.endDate); @@ -160,6 +164,12 @@ export default defineComponent({ } return '-'; }, + dailyBudget(): string { + return formatPrice( + this.newCampaign.dailyBudget, + this.newCampaign.currencyCode, + ); + }, }, methods: { diff --git a/_dev/apps/ui/src/components/product-feed/settings/attribute-mapping/attribute-field.vue b/_dev/apps/ui/src/components/product-feed/settings/attribute-mapping/attribute-field.vue index 250e025488..ef652f2e8c 100644 --- a/_dev/apps/ui/src/components/product-feed/settings/attribute-mapping/attribute-field.vue +++ b/_dev/apps/ui/src/components/product-feed/settings/attribute-mapping/attribute-field.vue @@ -1,6 +1,6 @@