diff options
author | Felix Edel <felix.edel@bmw.de> | 2020-10-16 10:03:12 +0200 |
---|---|---|
committer | Felix Edel <felix.edel@bmw.de> | 2020-11-04 09:19:07 +0100 |
commit | f61da0a5e4236d63e19d2526e8f84781b00388ef (patch) | |
tree | 46f70cbd8f6d0b9f061438782b2f64d6da2be65f /web/src/pages/Build.jsx | |
parent | 7e131757a52b2bae73dfeb870cd551cd49fa47cd (diff) | |
download | zuul-f61da0a5e4236d63e19d2526e8f84781b00388ef.tar.gz |
UI: Remove refresh button from build and buildset page
Both the build and buildset doesn't change once stored in the SQL
database. Thus, clicking on the refresh button just reloads the same
information again which doesn't make much sense IMHO.
Since there is no other information on the build that would change over
time, simply remove the refresh button.
Change-Id: I3fccea38824cc4ffbda9d8619f548878b0a60542
Diffstat (limited to 'web/src/pages/Build.jsx')
-rw-r--r-- | web/src/pages/Build.jsx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/web/src/pages/Build.jsx b/web/src/pages/Build.jsx index 9646f06f2..a7f48db5d 100644 --- a/web/src/pages/Build.jsx +++ b/web/src/pages/Build.jsx @@ -40,7 +40,7 @@ import { import { fetchBuildAllInfo } from '../actions/build' import { fetchLogfile } from '../actions/logfile' import { EmptyPage } from '../containers/Errors' -import { Fetchable, Fetching } from '../containers/Fetching' +import { Fetching } from '../containers/Fetching' import ArtifactList from '../containers/build/Artifact' import Build from '../containers/build/Build' import BuildOutput from '../containers/build/BuildOutput' @@ -156,10 +156,6 @@ class BuildPage extends React.Component { ) } - const fetchable = ( - <Fetchable isFetching={isFetching} fetchCallback={this.updateData} /> - ) - const resultsTabContent = build.hosts === undefined || isFetchingOutput ? ( <Fetching /> @@ -236,12 +232,7 @@ class BuildPage extends React.Component { return ( <> <PageSection variant={PageSectionVariants.light}> - <Build - build={build} - active={activeTab} - hash={hash} - fetchable={fetchable} - /> + <Build build={build} active={activeTab} hash={hash} /> </PageSection> <PageSection variant={PageSectionVariants.light}> <Tabs |