@mercurjs/admin 2.2.0-canary.44 → 2.2.0-canary.45
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/index.js
CHANGED
|
@@ -132,8 +132,22 @@ var StoreEditForm = ({ seller }) => {
|
|
|
132
132
|
phone: seller.phone ?? "",
|
|
133
133
|
website_url: stripWebsiteProtocol(seller.website_url),
|
|
134
134
|
is_premium: seller.is_premium ?? false,
|
|
135
|
-
media: seller.logo ? [
|
|
136
|
-
|
|
135
|
+
media: seller.logo ? [
|
|
136
|
+
{
|
|
137
|
+
id: "existing-logo",
|
|
138
|
+
url: seller.logo,
|
|
139
|
+
isThumbnail: false,
|
|
140
|
+
file: null
|
|
141
|
+
}
|
|
142
|
+
] : [],
|
|
143
|
+
bannerMedia: seller.banner ? [
|
|
144
|
+
{
|
|
145
|
+
id: "existing-banner",
|
|
146
|
+
url: seller.banner,
|
|
147
|
+
isThumbnail: false,
|
|
148
|
+
file: null
|
|
149
|
+
}
|
|
150
|
+
] : []
|
|
137
151
|
}
|
|
138
152
|
});
|
|
139
153
|
const { fields: logoFields } = useFieldArray({
|
|
@@ -192,7 +206,9 @@ var StoreEditForm = ({ seller }) => {
|
|
|
192
206
|
{
|
|
193
207
|
onSuccess: () => {
|
|
194
208
|
toast.success(
|
|
195
|
-
t("stores.edit.successToast", {
|
|
209
|
+
t("stores.edit.successToast", {
|
|
210
|
+
name: values.name ?? values.email
|
|
211
|
+
})
|
|
196
212
|
);
|
|
197
213
|
handleSuccess();
|
|
198
214
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mercurjs/admin",
|
|
3
|
-
"version": "2.2.0-canary.
|
|
3
|
+
"version": "2.2.0-canary.45",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/mercurjs/mercur",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"lint": "oxlint --max-warnings 0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@mercurjs/dashboard-shared": "2.2.0-canary.
|
|
38
|
-
"@mercurjs/client": "2.2.0-canary.
|
|
37
|
+
"@mercurjs/dashboard-shared": "2.2.0-canary.45",
|
|
38
|
+
"@mercurjs/client": "2.2.0-canary.45",
|
|
39
39
|
"@ariakit/react": "^0.4.15",
|
|
40
40
|
"@babel/runtime": "^7.26.10",
|
|
41
41
|
"@dnd-kit/core": "^6.1.0",
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
"tsup": "^8.0.2",
|
|
89
89
|
"typescript": "5.9.3",
|
|
90
90
|
"@medusajs/types": "2.17.2",
|
|
91
|
-
"@mercurjs/core": "2.2.0-canary.
|
|
92
|
-
"@mercurjs/dashboard-sdk": "2.2.0-canary.
|
|
93
|
-
"@mercurjs/types": "2.2.0-canary.
|
|
91
|
+
"@mercurjs/core": "2.2.0-canary.45",
|
|
92
|
+
"@mercurjs/dashboard-sdk": "2.2.0-canary.45",
|
|
93
|
+
"@mercurjs/types": "2.2.0-canary.45"
|
|
94
94
|
}
|
|
95
95
|
}
|