summaryrefslogtreecommitdiff
path: root/web/src/pages/Job.jsx
diff options
context:
space:
mode:
authorIan Wienand <iwienand@redhat.com>2021-08-17 16:06:38 +1000
committerIan Wienand <iwienand@redhat.com>2021-08-17 19:04:08 +1000
commit1f389327e9e4b98a74078229bda7ba41f9acc5e0 (patch)
tree289e6aa107fccdb178058dd712fc001ddef0697d /web/src/pages/Job.jsx
parent43ff2237451e8d6099333c79d704e6fd383f3472 (diff)
downloadzuul-1f389327e9e4b98a74078229bda7ba41f9acc5e0.tar.gz
web: Job: don't display loading/refresh header
The individual job page loads quickly and there's no need to have a "refresh" button taking up a lot of header space (nobody needs to refresh the job they're looking at, and if they do, the browser refresh does the same thing because it's a unique URL). Remove it. Change-Id: I09c4174379dde38e3f55cb731bc991039c4a4dd2
Diffstat (limited to 'web/src/pages/Job.jsx')
-rw-r--r--web/src/pages/Job.jsx7
1 files changed, 0 insertions, 7 deletions
diff --git a/web/src/pages/Job.jsx b/web/src/pages/Job.jsx
index d8f18841b..efb4cfddc 100644
--- a/web/src/pages/Job.jsx
+++ b/web/src/pages/Job.jsx
@@ -18,7 +18,6 @@ import PropTypes from 'prop-types'
import { PageSection, PageSectionVariants } from '@patternfly/react-core'
import Job from '../containers/job/Job'
-import { Fetchable } from '../containers/Fetching'
import { fetchJobIfNeeded } from '../actions/job'
@@ -55,12 +54,6 @@ class JobPage extends React.Component {
const jobName = this.props.match.params.jobName
return (
<PageSection variant={PageSectionVariants.light}>
- <PageSection style={{paddingRight: '5px'}}>
- <Fetchable
- isFetching={remoteData.isFetching}
- fetchCallback={this.updateData}
- />
- </PageSection>
{tenantJobs && tenantJobs[jobName] && <Job job={tenantJobs[jobName]} />}
</PageSection>
)