File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/components/projects/projectId/heuristics Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1- import LoadingIcon from '@/src/components/shared/loading/LoadingIcon' ;
1+ import { Loading } from "@nextui-org/react" ;
22import { selectIsManaged } from '@/src/reduxStore/states/general' ;
33import { openModal , selectModal } from '@/src/reduxStore/states/modal' ;
44import { selectHeuristicsAll , setHeuristicType } from '@/src/reduxStore/states/pages/heuristics' ;
@@ -259,7 +259,9 @@ export default function HeuristicsHeader(props: HeuristicsHeaderProps) {
259259 { currentWeakSupervisionRun ? ( < Tooltip content = { TOOLTIPS_DICT . HEURISTICS . LAST_WEAK_SUPERVISION_INFO } color = "invert" placement = "bottom" >
260260 < button onClick = { ( ) => dispatch ( openModal ( ModalEnum . LAST_WEAK_SUPERVISION_RUN ) ) }
261261 className = "bg-white text-gray-700 text-xs font-medium mr-3 px-4 py-1.5 rounded-md border border-gray-300 cursor-pointer inline-block hover:bg-gray-50" >
262- { loadingIconWS ? < LoadingIcon color = "indigo" size = "custom-sm" removeMargin = { true } /> : < IconWaveSine size = { 20 } strokeWidth = { 2 } className = "text-gray-700" /> }
262+ { loadingIconWS ? < div className = 'flex justify-center items-center h-5 w-5' >
263+ < Loading type = "points" size = "sm" />
264+ </ div > : < IconWaveSine size = { 20 } strokeWidth = { 2 } className = "text-gray-700" /> }
263265 </ button >
264266 </ Tooltip > ) : ( < Tooltip content = { TOOLTIPS_DICT . HEURISTICS . LAST_WEAK_SUPERVISION_INFO } color = "invert" placement = "bottom" >
265267 < button className = "bg-white text-gray-700 text-xs font-medium mr-3 px-4 py-1.5 rounded-md border border-gray-300 cursor-pointer inline-block hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-50" disabled = { true } >
You can’t perform that action at this time.
0 commit comments