fix: plugin task

pull/12372/head
StyleZhang 2 years ago
parent 13d3f67746
commit 582c7ce348

@ -84,9 +84,6 @@ const PluginTasks = () => {
isInstalling && (
<ProgressCircle
percentage={runningPlugins.length / totalPluginsLength * 100}
circleFillColor='fill-components-progress-brand-bg'
sectorFillColor='fill-components-progress-error-bg'
circleStrokeColor='stroke-components-progress-error-bg'
/>
)
}
@ -95,8 +92,8 @@ const PluginTasks = () => {
<ProgressCircle
percentage={runningPlugins.length / totalPluginsLength * 100}
circleFillColor='fill-components-progress-brand-bg'
sectorFillColor='fill-components-progress-error-bg'
circleStrokeColor='stroke-components-progress-error-bg'
sectorFillColor='fill-components-progress-error-border'
circleStrokeColor='stroke-components-progress-error-border'
/>
)
}
@ -135,7 +132,7 @@ const PluginTasks = () => {
<Button
size='small'
variant='ghost-accent'
onClick={() => handleClearErrorPlugin(errorPlugin.taskId, errorPlugin.plugin_id)}
onClick={() => handleClearErrorPlugin(errorPlugin.taskId, errorPlugin.plugin_unique_identifier)}
>
{t('common.operation.clear')}
</Button>

@ -120,7 +120,7 @@ export const useMutationPluginsFromMarketplace = () => {
const usePluginTaskListKey = [NAME_SPACE, 'pluginTaskList']
export const usePluginTaskList = () => {
const [enabled, setEnabled] = useState(true)
const [enabled, setEnabled] = useState(false)
const {
data,
isFetched,

Loading…
Cancel
Save