diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-03-27 18:00:37 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-03-27 18:00:37 -0500 |
| commit | 891d221e2e9833e2798a294bbdc2e7bdee6fd14a (patch) | |
| tree | 1f5a821c0b30b4f48dc4b3e8df9be8104a635179 /src | |
| parent | 03f4e86500350ba3a939afd8e1e4e8274aac4314 (diff) | |
| download | slskd-891d221e2e9833e2798a294bbdc2e7bdee6fd14a.tar.gz | |
add Queued state
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/components/Search/SearchStatusIcon.jsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/web/src/components/Search/SearchStatusIcon.jsx b/src/web/src/components/Search/SearchStatusIcon.jsx index 9658b626..0a3d4a5d 100644 --- a/src/web/src/components/Search/SearchStatusIcon.jsx +++ b/src/web/src/components/Search/SearchStatusIcon.jsx @@ -1,9 +1,9 @@ import React from 'react'; import { Icon, Popup } from 'semantic-ui-react'; -// as of 4.5.2, states are: +// as of 3/26/25 states are: // transient: -// None, Requested, InProgress +// None, Queued, Requested, InProgress // terminal: // good: Completed, [TimedOut | ResponseLimitReached | FileLimitReached] // bad: Completed, [Errored | Cancelled] @@ -11,6 +11,7 @@ import { Icon, Popup } from 'semantic-ui-react'; const getIcon = ({ state, ...props }) => { switch (state) { case 'None': + case 'Queued': case 'Requested': return ( <Icon |
