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(); await onCancel();
}} }}
strTitle={ strTitle={
<div style={{display: "flex", flexDirection: "row", alignItems: "center", width: "100%"}}> <div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', width: '100%' }}>
<TranslationHelper <TranslationHelper
transClass={TranslationClass.PLUGIN_INSTALL_MODAL} transClass={TranslationClass.PLUGIN_INSTALL_MODAL}
transText="title" transText="title"
@@ -66,10 +66,9 @@ const PluginInstallModal: FC<PluginInstallModalProps> = ({
installType={installType} installType={installType}
/> />
{loading && ( {loading && (
<div style={{marginLeft: "auto"}}> <div style={{ marginLeft: 'auto' }}>
<ProgressBarWithInfo <ProgressBarWithInfo
layout="inline" layout="inline"
bottomSeparator="none" bottomSeparator="none"
nProgress={percentage} nProgress={percentage}
sOperationText={downloadInfo} sOperationText={downloadInfo}
@@ -27,10 +27,12 @@ const PluginUninstallModal: FC<PluginUninstallModalProps> = ({ name, title, butt
}} }}
bOKDisabled={uninstalling} bOKDisabled={uninstalling}
bCancelDisabled={uninstalling} bCancelDisabled={uninstalling}
strTitle={<div style={{display: "flex", flexDirection: "row", alignItems: "center", width: "100%"}}> strTitle={
{title} <div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', width: '100%' }}>
{uninstalling && <Spinner width="24px" height="24px" style={{marginLeft: "auto"}}/>} {title}
</div>} {uninstalling && <Spinner width="24px" height="24px" style={{ marginLeft: 'auto' }} />}
</div>
}
strOKButtonText={buttonText} strOKButtonText={buttonText}
> >
{description} {description}