File tree Expand file tree Collapse file tree
frontend/src/pages/Runs/Details Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,12 @@ export const RunDetailsPage: React.FC = () => {
3131 const paramRunId = params . runId ?? '' ;
3232 const [ pushNotification ] = useNotifications ( ) ;
3333
34- const { data : runData , error : runError } = useGetRunQuery ( {
34+ const {
35+ data : runData ,
36+ error : runError ,
37+ isLoading,
38+ refetch,
39+ } = useGetRunQuery ( {
3540 project_name : paramProjectName ,
3641 id : paramRunId ,
3742 } ) ;
@@ -148,6 +153,13 @@ export const RunDetailsPage: React.FC = () => {
148153 { /*<Button onClick={deleteClickHandle} disabled={isDisabledDeleteButton}>*/ }
149154 { /* {t('common.delete')}*/ }
150155 { /*</Button>*/ }
156+
157+ < Button
158+ iconName = "refresh"
159+ disabled = { isLoading }
160+ ariaLabel = { t ( 'common.refresh' ) }
161+ onClick = { refetch }
162+ />
151163 </ >
152164 }
153165 />
You can’t perform that action at this time.
0 commit comments