diff --git a/frontend/src/MarketplacePage/InstalledPlugins.jsx b/frontend/src/MarketplacePage/InstalledPlugins.jsx index 1066c8552c..181ca0e71d 100644 --- a/frontend/src/MarketplacePage/InstalledPlugins.jsx +++ b/frontend/src/MarketplacePage/InstalledPlugins.jsx @@ -109,15 +109,29 @@ const InstalledPluginCard = ({ plugin, marketplacePlugin, fetchPlugins, isDevMod toast.success(`${capitalizeFirstLetter(name)} reloaded`); }; + const pluginDeleteMessage = ( + <> + Deleting {capitalizeFirstLetter(name)} plugin will result in the permanent removal of all + associated datasources and its dataqueries. This action cannot be undone. Are you sure you wish to proceed with + the deletion? + + ); + return ( <>
diff --git a/frontend/src/_components/ConfirmDialog.jsx b/frontend/src/_components/ConfirmDialog.jsx index 4dc30e59a3..66c3f8b66b 100644 --- a/frontend/src/_components/ConfirmDialog.jsx +++ b/frontend/src/_components/ConfirmDialog.jsx @@ -17,6 +17,7 @@ export function ConfirmDialog({ cancelButtonText = 'Cancel', backdropClassName, onCloseIconClick, + footerStyle, }) { darkMode = darkMode ?? (localStorage.getItem('darkMode') === 'true' || false); const [showModal, setShow] = useState(show); @@ -73,7 +74,7 @@ export function ConfirmDialog({ {message} - + {cancelButtonText ?? t('globals.cancel', 'Cancel')}