File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @tanstack/query-devtools" ,
3- "version" : " 5.0.0-beta.20 " ,
3+ "version" : " 5.0.0-beta.33 " ,
44 "description" : " Developer tools to interact with and visualize the TanStack Query cache" ,
55 "author" : " tannerlinsley" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -1061,6 +1061,7 @@ const QueryDetails = () => {
10611061 'tsqd-query-details-action-invalidate' ,
10621062 ) }
10631063 onClick = { ( ) => queryClient . invalidateQueries ( activeQuery ( ) ) }
1064+ disabled = { queryStatus ( ) === 'pending' }
10641065 >
10651066 < span
10661067 class = { css `
@@ -1078,6 +1079,7 @@ const QueryDetails = () => {
10781079 'tsqd-query-details-action-reset' ,
10791080 ) }
10801081 onClick = { ( ) => queryClient . resetQueries ( activeQuery ( ) ) }
1082+ disabled = { queryStatus ( ) === 'pending' }
10811083 >
10821084 < span
10831085 class = { css `
@@ -1130,7 +1132,7 @@ const QueryDetails = () => {
11301132 background-color : ${ tokens . colors . cyan [ 400 ] } ;
11311133 ` }
11321134 > </ span >
1133- { statusLabel ( ) === 'fetching ' ? 'Restore' : 'Trigger' } Loading
1135+ { queryStatus ( ) === 'pending ' ? 'Restore' : 'Trigger' } Loading
11341136 </ button >
11351137 < Show when = { errorTypes ( ) . length === 0 || queryStatus ( ) === 'error' } >
11361138 < button
@@ -1148,6 +1150,7 @@ const QueryDetails = () => {
11481150 queryClient . resetQueries ( activeQuery ( ) )
11491151 }
11501152 } }
1153+ disabled = { queryStatus ( ) === 'pending' }
11511154 >
11521155 < span
11531156 class = { css `
Original file line number Diff line number Diff line change 11{
22 "name" : " @tanstack/react-query-devtools" ,
3- "version" : " 5.0.0-beta.31 " ,
3+ "version" : " 5.0.0-beta.33 " ,
44 "description" : " Developer tools to interact with and visualize the TanStack/react-query cache" ,
55 "author" : " tannerlinsley" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @tanstack/svelte-query-devtools" ,
3- "version" : " 5.0.0-beta.31 " ,
3+ "version" : " 5.0.0-beta.33 " ,
44 "description" : " Developer tools to interact with and visualize the TanStack/svelte-query cache" ,
55 "author" : " Lachlan Collins" ,
66 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments