Share customer session cookies with the storefront and polish business settings.
Keep JWT login mirrored on the tenant cookie domain, improve e-payment settings UX, and add a storefront link from the customer sidebar. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
c289de5d2e
commit
dc570c1e7f
@@ -14,6 +14,7 @@ import { ApiError } from '../lib/api'
|
||||
import { listProductCategories, mapProductCategoryToUi } from '../services/productCategoryService'
|
||||
import { listAllBrands, mapBrandToSelectOption } from '../services/brandService'
|
||||
import {
|
||||
galleryMediaIdsAfterChange,
|
||||
resolveDataUrlToMediaId,
|
||||
resolveDataUrlsToMediaIds,
|
||||
} from '../services/mediaService'
|
||||
@@ -372,7 +373,15 @@ export function AddNewProductPage() {
|
||||
|
||||
<div className={`${styles.field} ${styles.col12}`}>
|
||||
<label>{t('products.form.images')}</label>
|
||||
<ImageUploader images={images} onChange={setImages} />
|
||||
<ImageUploader
|
||||
images={images}
|
||||
onChange={(next) => {
|
||||
setGalleryMediaIds(
|
||||
galleryMediaIdsAfterChange(images, galleryMediaIds, next),
|
||||
)
|
||||
setImages(next)
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className={`${styles.field} ${styles.col12}`}>
|
||||
|
||||
Reference in New Issue
Block a user