PluginProbe
Extendify / 3.2.3
Extendify v3.2.3
3.2.3 3.2.2 3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 All 129 releases
← All changes | src/Agent/workflows/content/components/UpdatePostStatusConfirm.jsx +2 -5 3.1.2 → 3.2.3 View file →
@@ -7,12 +7,9 @@
7 7 };
8 8
9 9 export const UpdatePostStatusConfirm = ({ inputs, onConfirm, onCancel }) => {
10 10 const handleConfirm = () => {
11 - if (window?.extAgentData?.context) {
12 - window.extAgentData.context.postStatus = inputs.updatedStatus;
13 - }
14 - onConfirm({ data: inputs });
11 + onConfirm({ data: inputs, shouldRefreshPage: true });
15 12 };
16 13
17 14 const handleCancel = useCallback(() => {
18 15 onCancel();
@@ -18,9 +15,9 @@
18 15 onCancel();
19 16 }, [onCancel]);
20 17
21 18 return (
22 - <div className="mb-4 ml-10 mr-2 flex flex-col rounded-lg border border-gray-300 bg-gray-50 rtl:ml-2 rtl:mr-10">
19 + <div className="mb-4 ms-2 me-2 flex flex-col rounded-lg border border-gray-300 bg-gray-50">
23 20 <div className="rounded-lg border-b border-gray-300 bg-white">
24 21 <div className="p-3">
25 22 <p className="m-0 p-0 text-sm text-gray-900">
26 23 {sprintf(