Skip to content

Commit

Permalink
UI: Use loading icon for update/delete
Browse files Browse the repository at this point in the history
Issue: #3418
PR: #3651
  • Loading branch information
ilija-lazoroski authored and VakarisZ committed Sep 4, 2023
1 parent 0462def commit 35e456d
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import {shallowAdditionOfUniqueValueToArray, shallowRemovalOfUniqueValueFromArra
import {GridActionsCellItem} from '@mui/x-data-grid';
import {Grid, Stack} from '@mui/material';
import DeleteIcon from '@mui/icons-material/Delete';
import AutoDeleteIcon from '@mui/icons-material/AutoDelete';
import DownloadingIcon from '@mui/icons-material/Downloading';
import DownloadDoneIcon from '@mui/icons-material/DownloadDone';
import UpgradeIcon from '@mui/icons-material/Upgrade';
import RemoveDoneIcon from '@mui/icons-material/RemoveDone';
Expand All @@ -14,6 +12,7 @@ import AuthComponent from '../../AuthComponent';
import MonkeyToggle from '../MonkeyToggle';
import SearchBar from '../SearchBar';
import TypeFilter from './TypeFilter';
import LoadingIcon from '../LoadingIconMUI';
import semver from 'semver';


Expand Down Expand Up @@ -127,7 +126,7 @@ const InstalledPlugins = (props) => {
return [
<GridActionsCellItem
key={plugin.id + 'upgrade'}
icon={<DownloadingIcon/>}
icon={<LoadingIcon/>}
label="Upgrading"
className="textPrimary"
color="inherit"
Expand Down Expand Up @@ -179,7 +178,7 @@ const InstalledPlugins = (props) => {
return [
<GridActionsCellItem
key={plugin.id + 'uninstall'}
icon={<AutoDeleteIcon/>}
icon={<LoadingIcon/>}
label="Uninstalling"
className="textPrimary"
color="inherit"
Expand Down

0 comments on commit 35e456d

Please sign in to comment.