You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Error is set in context, this is for immediate feedback
41
46
setPathError(error||'Failed to update path. Check console.');
42
47
}else{
43
-
alert('Path updated. This change is in-memory and will be lost on application restart unless persisted in the backend configuration (e.g., environment variable or config file).');
44
-
}
48
+
{/* Warning Confirmation Modal */}
49
+
<ConfirmationModal
50
+
show={showWarningModal}
51
+
title="Warning"
52
+
message={`Path updated. `}
53
+
details="This change is in-memory and will be lost on application restart unless persisted in the backend configuration (e.g., environment variable or config file)."
54
+
cancelText="Cancel"
55
+
onCancel={cancelWarning}
56
+
/>
57
+
// alert('Path updated. This change is in-memory and will be lost on application restart unless persisted in the backend configuration (e.g., environment variable or config file).');
alert(result.message||'Plugin installation initiated successfully! Restart Traefik to apply.');
53
+
//alert(result.message || 'Plugin installation initiated successfully! Restart Traefik to apply.'); // Alert is now in the Confirmation Dialog component
54
+
setAlert({
55
+
show: true,
56
+
title: 'Success',
57
+
message: result.message||'Plugin installation initiated successfully! Restart Traefik to apply.',
58
+
});
52
59
fetchPlugins();// Refresh plugin list to show installed status
0 commit comments