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
This commit is contained in:
parent
43ff223745
commit
1f389327e9
@ -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>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user