LINTERRRRRRRRRRRRRRRRRRRR

This commit is contained in:
AAGaming
2024-07-04 01:28:32 -04:00
parent f73aced452
commit 846995e0d3
2 changed files with 8 additions and 7 deletions
@@ -58,7 +58,7 @@ const PluginInstallModal: FC<PluginInstallModalProps> = ({
await onCancel();
}}
strTitle={
<div style={{display: "flex", flexDirection: "row", alignItems: "center", width: "100%"}}>
<div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', width: '100%' }}>
<TranslationHelper
transClass={TranslationClass.PLUGIN_INSTALL_MODAL}
transText="title"
@@ -66,10 +66,9 @@ const PluginInstallModal: FC<PluginInstallModalProps> = ({
installType={installType}
/>
{loading && (
<div style={{marginLeft: "auto"}}>
<div style={{ marginLeft: 'auto' }}>
<ProgressBarWithInfo
layout="inline"
bottomSeparator="none"
nProgress={percentage}
sOperationText={downloadInfo}
@@ -27,10 +27,12 @@ const PluginUninstallModal: FC<PluginUninstallModalProps> = ({ name, title, butt
}}
bOKDisabled={uninstalling}
bCancelDisabled={uninstalling}
strTitle={<div style={{display: "flex", flexDirection: "row", alignItems: "center", width: "100%"}}>
{title}
{uninstalling && <Spinner width="24px" height="24px" style={{marginLeft: "auto"}}/>}
</div>}
strTitle={
<div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', width: '100%' }}>
{title}
{uninstalling && <Spinner width="24px" height="24px" style={{ marginLeft: 'auto' }} />}
</div>
}
strOKButtonText={buttonText}
>
{description}