@orion-studios/payload-studio 0.6.0-beta.138 → 0.6.0-beta.139
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.
|
@@ -2882,7 +2882,7 @@ function GrapesPageEditor({
|
|
|
2882
2882
|
historyRestoreActiveRef.current = true;
|
|
2883
2883
|
restoreCustomHistoryEntry(customEntry, action === "undo" ? "before" : "after");
|
|
2884
2884
|
if (action === "undo") {
|
|
2885
|
-
if (
|
|
2885
|
+
if (customEntry.after && !isComponentAttached(customEntry.after.component)) {
|
|
2886
2886
|
const removedComponent = customEntry.after.component;
|
|
2887
2887
|
const removedID = getHistorySnapshotID(customEntry.after);
|
|
2888
2888
|
customUndoStackRef.current = customUndoStackRef.current.filter(
|
|
@@ -2758,7 +2758,7 @@ function GrapesPageEditor({
|
|
|
2758
2758
|
historyRestoreActiveRef.current = true;
|
|
2759
2759
|
restoreCustomHistoryEntry(customEntry, action === "undo" ? "before" : "after");
|
|
2760
2760
|
if (action === "undo") {
|
|
2761
|
-
if (
|
|
2761
|
+
if (customEntry.after && !isComponentAttached(customEntry.after.component)) {
|
|
2762
2762
|
const removedComponent = customEntry.after.component;
|
|
2763
2763
|
const removedID = getHistorySnapshotID(customEntry.after);
|
|
2764
2764
|
customUndoStackRef.current = customUndoStackRef.current.filter(
|
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
admin_exports
|
|
3
3
|
} from "./chunk-JC3UV74N.mjs";
|
|
4
|
-
import {
|
|
5
|
-
blocks_exports
|
|
6
|
-
} from "./chunk-JQAHXYAM.mjs";
|
|
7
4
|
import {
|
|
8
5
|
admin_app_exports
|
|
9
6
|
} from "./chunk-RKTIFEUY.mjs";
|
|
10
7
|
import "./chunk-W2UOCJDX.mjs";
|
|
8
|
+
import {
|
|
9
|
+
blocks_exports
|
|
10
|
+
} from "./chunk-JQAHXYAM.mjs";
|
|
11
11
|
import {
|
|
12
12
|
nextjs_exports
|
|
13
13
|
} from "./chunk-ZADL33R6.mjs";
|
package/package.json
CHANGED