File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -119,18 +119,8 @@ const UploadQueue: VoidComponent<{ dongleId: string }> = (props) => {
119119 return (
120120 < div class = "flex flex-col gap-4 bg-surface-container-lowest" >
121121 < div class = "flex p-4 justify-between items-center border-b-2 border-b-surface-container-low" >
122- < StatisticBar statistics = { [ { label : "Queued" , value : ( ) => itemStore . length } ] } />
123- < Button
124- onClick = { ( ) =>
125- cancel (
126- dongleId ( ) ,
127- itemStore . filter ( ( item ) => item . id ) . map ( ( item ) => item . id )
128- )
129- }
130- class = "px-2 md:px-3"
131- leading = { < Icon name = "close" size = "20" /> }
132- color = "primary"
133- >
122+ < StatisticBar statistics = { [ { label : 'Queued' , value : ( ) => itemStore . length } ] } />
123+ < Button onClick = { ( ) => cancelAll ( ) } class = "px-2 md:px-3" leading = { < Icon name = "close" size = "20" /> } color = "primary" >
134124 < span class = "flex items-center gap-1 font-mono" > Cancel All</ span >
135125 </ Button >
136126 </ div >
@@ -154,7 +144,7 @@ const UploadQueue: VoidComponent<{ dongleId: string }> = (props) => {
154144 </ Switch >
155145 </ div >
156146 </ div >
157- ) ;
147+ )
158148}
159149
160150export default UploadQueue
You can’t perform that action at this time.
0 commit comments