diff --git a/packages/volto/src/components/manage/Controlpanels/UndoControlpanel.jsx b/packages/volto/src/components/manage/Controlpanels/UndoControlpanel.jsx index 0f18ff33a6..6713382bd0 100644 --- a/packages/volto/src/components/manage/Controlpanels/UndoControlpanel.jsx +++ b/packages/volto/src/components/manage/Controlpanels/UndoControlpanel.jsx @@ -833,7 +833,7 @@ class UndoControlpanel extends Component { /> - {this.props.getRequest.loading ? ( + {this.props.getRequest?.loading ? ( diff --git a/packages/volto/src/components/manage/Controlpanels/__snapshots__/UndoControlpanel.test.jsx.snap b/packages/volto/src/components/manage/Controlpanels/__snapshots__/UndoControlpanel.test.jsx.snap index dc7569f0bb..36d2ea8a54 100644 --- a/packages/volto/src/components/manage/Controlpanels/__snapshots__/UndoControlpanel.test.jsx.snap +++ b/packages/volto/src/components/manage/Controlpanels/__snapshots__/UndoControlpanel.test.jsx.snap @@ -24,40 +24,40 @@ exports[`UndoControlpanel renders undo controlpanel component 1`] = ` \\"id\\": \\"default\\", \\"title\\": \\"Default\\", \\"fields\\": [ - \\"sortingTypes\\" + \\"filterTypes\\" ] } ], \\"properties\\": { - \\"sortingTypes\\": { - \\"title\\": \\"Sort by\\", - \\"description\\": \\"Sort transactions by User-Name, Path or Date\\", + \\"filterTypes\\": { + \\"title\\": \\"Filter transactions by\\", + \\"description\\": \\"Filter transactions by User, Path or Date\\", \\"type\\": \\"string\\", \\"choices\\": [ [ - \\"User Name\\", - \\"User Name\\" + \\"user\\", + \\"Username\\" ], [ - \\"Path\\", + \\"path\\", \\"Path\\" ], [ - \\"Date\\", + \\"date\\", \\"Date\\" ] ] }, - \\"sortByUsername\\": { + \\"filterByUsername\\": { \\"title\\": \\"Enter Username\\", \\"type\\": \\"string\\" }, - \\"sortByPath\\": { + \\"filterByPath\\": { \\"title\\": \\"Enter Path\\", \\"type\\": \\"string\\" }, - \\"sortByDate\\": { - \\"title\\": \\"Enter Date and Time\\", + \\"filterByDate\\": { + \\"title\\": \\"Enter Date and time\\", \\"type\\": \\"date\\" } }, @@ -84,27 +84,28 @@ exports[`UndoControlpanel renders undo controlpanel component 1`] = ` class="" > # What Who When Note @@ -121,34 +122,72 @@ exports[`UndoControlpanel renders undo controlpanel component 1`] = ` id="QStrR0RRc0M5TjA9" >
+
- Added default view for root object +
+ Added +
+
+ default +
+
+ view +
+
+ for +
+
+ root +
+
+ object +
Zope - 2022-06-19T22:15:02 +
+
- Added virtual_hosting +
+ Added +
+
+ virtual_hosting +
Zope - 2022-06-19T22:15:02 +
+
- Added site error_log at /error_log +
+ Added +
+
+ site +
+
+ error_log +
+
+ at +
+
+ /error_log +
Zope - 2022-06-19T22:15:02 +
+
- Added session_data_manager +
+ Added +
+
+ session_data_manager +
Zope - 2022-06-19T22:15:02 +
+
- Added browser_id_manager +
+ Added +
+
+ browser_id_manager +
Zope - 2022-06-19T22:15:02 +
+
- Created initial user +
+ Created +
+
+ initial +
+
+ user +
Zope - 2022-06-19T22:15:02 +
+
+ > +
+ Zope - 2022-06-19T22:15:02 +
+
- initial database creation +
+ initial +
+
+ database +
+
+ creation +
Zope - 2022-06-19T22:14:50 + @@ -408,16 +593,9 @@ exports[`UndoControlpanel renders undo controlpanel component 1`] = `