feat: add starting state to sidebar indicator (#587)
This commit is contained in:
@@ -64,7 +64,7 @@ export default function Card({ buttonProps, icon, title, subtitle, status }: Pro
|
||||
} else if (status === 'error') {
|
||||
statusIcon = <AlertCircle size="13" color="#f44336" />
|
||||
} else if (status === 'loading') {
|
||||
statusIcon = <RefreshLine size="13" color="#096cca" />
|
||||
statusIcon = <RefreshLine size="13" color="orange" />
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -25,6 +25,9 @@ export default function StatusIcon({ checkState, size, className, isLoading }: P
|
||||
case CheckState.ERROR:
|
||||
backgroundColor = '#ff3a52'
|
||||
break
|
||||
case CheckState.STARTING:
|
||||
backgroundColor = 'orange'
|
||||
break
|
||||
default:
|
||||
// Default is error
|
||||
backgroundColor = '#ff3a52'
|
||||
|
||||
Reference in New Issue
Block a user