strapi-plugin-magic-mail 2.10.7 → 2.10.8
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/CHANGELOG.md +7 -0
- package/dist/_chunks/{App-PxOT9hIQ.mjs → App-CDFT2wYy.mjs} +6 -2
- package/dist/_chunks/{App-BJBweFJi.js → App-cpuAww_Y.js} +6 -2
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [2.10.8](https://github.com/Schero94/Magic-Mail/compare/v2.10.7...v2.10.8) (2026-04-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **editor:** navigate to newly created templates by templateReferenceId, not DB id ([617dc01](https://github.com/Schero94/Magic-Mail/commit/617dc01106101a7407bcfadbb61bbe49ef8eb43e))
|
|
7
|
+
|
|
1
8
|
## [2.10.7](https://github.com/Schero94/Magic-Mail/compare/v2.10.6...v2.10.7) (2026-04-21)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -6435,8 +6435,12 @@ const EditorPage = () => {
|
|
|
6435
6435
|
type: "success",
|
|
6436
6436
|
message: isNewTemplate ? "Template created!" : "Template saved!"
|
|
6437
6437
|
});
|
|
6438
|
-
if (isNewTemplate
|
|
6439
|
-
|
|
6438
|
+
if (isNewTemplate) {
|
|
6439
|
+
const created = response.data?.data;
|
|
6440
|
+
const navId = created?.templateReferenceId ?? created?.id;
|
|
6441
|
+
if (navId !== void 0 && navId !== null) {
|
|
6442
|
+
navigate(`/plugins/magic-mail/designer/${navId}`);
|
|
6443
|
+
}
|
|
6440
6444
|
}
|
|
6441
6445
|
} catch (error) {
|
|
6442
6446
|
toggleNotification({
|
|
@@ -6458,8 +6458,12 @@ const EditorPage = () => {
|
|
|
6458
6458
|
type: "success",
|
|
6459
6459
|
message: isNewTemplate ? "Template created!" : "Template saved!"
|
|
6460
6460
|
});
|
|
6461
|
-
if (isNewTemplate
|
|
6462
|
-
|
|
6461
|
+
if (isNewTemplate) {
|
|
6462
|
+
const created = response.data?.data;
|
|
6463
|
+
const navId = created?.templateReferenceId ?? created?.id;
|
|
6464
|
+
if (navId !== void 0 && navId !== null) {
|
|
6465
|
+
navigate(`/plugins/magic-mail/designer/${navId}`);
|
|
6466
|
+
}
|
|
6463
6467
|
}
|
|
6464
6468
|
} catch (error) {
|
|
6465
6469
|
toggleNotification({
|
package/dist/admin/index.js
CHANGED
|
@@ -68,7 +68,7 @@ const index = {
|
|
|
68
68
|
id: `${pluginId}.plugin.name`,
|
|
69
69
|
defaultMessage: "MagicMail"
|
|
70
70
|
},
|
|
71
|
-
Component: () => Promise.resolve().then(() => require("../_chunks/App-
|
|
71
|
+
Component: () => Promise.resolve().then(() => require("../_chunks/App-cpuAww_Y.js")),
|
|
72
72
|
permissions: pluginPermissions
|
|
73
73
|
});
|
|
74
74
|
app.createSettingSection(
|
package/dist/admin/index.mjs
CHANGED
|
@@ -67,7 +67,7 @@ const index = {
|
|
|
67
67
|
id: `${pluginId}.plugin.name`,
|
|
68
68
|
defaultMessage: "MagicMail"
|
|
69
69
|
},
|
|
70
|
-
Component: () => import("../_chunks/App-
|
|
70
|
+
Component: () => import("../_chunks/App-CDFT2wYy.mjs"),
|
|
71
71
|
permissions: pluginPermissions
|
|
72
72
|
});
|
|
73
73
|
app.createSettingSection(
|
package/dist/server/index.js
CHANGED
|
@@ -15851,7 +15851,7 @@ var oauth$1 = ({ strapi: strapi2 }) => ({
|
|
|
15851
15851
|
return account;
|
|
15852
15852
|
}
|
|
15853
15853
|
});
|
|
15854
|
-
const version = "2.10.
|
|
15854
|
+
const version = "2.10.7";
|
|
15855
15855
|
const require$$2 = {
|
|
15856
15856
|
version
|
|
15857
15857
|
};
|
package/dist/server/index.mjs
CHANGED
|
@@ -15838,7 +15838,7 @@ var oauth$1 = ({ strapi: strapi2 }) => ({
|
|
|
15838
15838
|
return account;
|
|
15839
15839
|
}
|
|
15840
15840
|
});
|
|
15841
|
-
const version = "2.10.
|
|
15841
|
+
const version = "2.10.7";
|
|
15842
15842
|
const require$$2 = {
|
|
15843
15843
|
version
|
|
15844
15844
|
};
|
package/package.json
CHANGED