diff --git a/src/views/products/View.vue b/src/views/products/View.vue index cd32910a..a4b42e04 100644 --- a/src/views/products/View.vue +++ b/src/views/products/View.vue @@ -160,7 +160,7 @@

{{ $t('rewardImagesTitle') }}

- +
@@ -395,6 +395,7 @@ export default defineComponent({ await this.fetch() this.setEditedLang(this.$accessor.languages.apiLanguage?.id || '') }, + methods: { handleSubmit(callback: Function) { ;(this.$refs.form as any).validate().then((success: boolean) => { @@ -485,6 +486,7 @@ export default defineComponent({ : await this.$accessor.products.update({ id: this.id, item: apiPayload }) ;(this.$refs.gallery as any).clearMediaToDelete() + ;(this.$refs.rewards as any).clearMediaToDelete() ;(this.$refs.banner as any)?.clearMediaToDelete?.() if (!item) throw new Error('Product was not saved')