From a45df8566ed207d126e5992bb7c870acd09a1864 Mon Sep 17 00:00:00 2001
From: AAGaming <aagaming@riseup.net>
Date: Thu, 4 Jul 2024 01:27:13 -0400
Subject: fix plugin uninstalls

---
 .../src/components/modals/PluginInstallModal.tsx    | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

(limited to 'frontend/src/components/modals/PluginInstallModal.tsx')

diff --git a/frontend/src/components/modals/PluginInstallModal.tsx b/frontend/src/components/modals/PluginInstallModal.tsx
index c6c90264..d9a3b433 100644
--- a/frontend/src/components/modals/PluginInstallModal.tsx
+++ b/frontend/src/components/modals/PluginInstallModal.tsx
@@ -58,13 +58,24 @@ const PluginInstallModal: FC<PluginInstallModalProps> = ({
         await onCancel();
       }}
       strTitle={
-        <div>
+        <div style={{display: "flex", flexDirection: "row", alignItems: "center", width: "100%"}}>
           <TranslationHelper
             transClass={TranslationClass.PLUGIN_INSTALL_MODAL}
             transText="title"
             i18nArgs={{ artifact: artifact }}
             installType={installType}
           />
+          {loading && (
+            <div style={{marginLeft: "auto"}}>
+              <ProgressBarWithInfo
+                layout="inline"
+                
+                bottomSeparator="none"
+                nProgress={percentage}
+                sOperationText={downloadInfo}
+              />
+            </div>
+          )}
         </div>
       }
       strOKButtonText={
@@ -98,14 +109,6 @@ const PluginInstallModal: FC<PluginInstallModalProps> = ({
           installType={installType}
         />
       </div>
-      {loading && (
-        <ProgressBarWithInfo
-          layout="inline"
-          bottomSeparator="none"
-          nProgress={percentage}
-          sOperationText={downloadInfo}
-        />
-      )}
       {hash == 'False' && <span style={{ color: 'red' }}>{t('PluginInstallModal.no_hash')}</span>}
     </ConfirmModal>
   );
-- 
cgit v1.2.3

