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/containers/build/Buildset.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/containers/build/Buildset.jsx')
-rw-r--r-- | web/src/containers/build/Buildset.jsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/web/src/containers/build/Buildset.jsx b/web/src/containers/build/Buildset.jsx index 2f275f270..23cd7e7bb 100644 --- a/web/src/containers/build/Buildset.jsx +++ b/web/src/containers/build/Buildset.jsx @@ -28,8 +28,7 @@ import { import { buildExternalLink } from '../../Misc' import { BuildResultBadge, BuildResultWithIcon, IconProperty } from './Misc' -function Buildset(props) { - const { buildset, fetchable } = props +function Buildset({ buildset }) { const buildset_link = buildExternalLink(buildset) return ( @@ -39,7 +38,6 @@ function Buildset(props) { Buildset result </BuildResultWithIcon> <BuildResultBadge result={buildset.result} /> - {fetchable} </Title> {/* We handle the spacing for the body and the flex items by ourselves so they go hand in hand. By default, the flex items' spacing only @@ -132,7 +130,6 @@ function Buildset(props) { Buildset.propTypes = { buildset: PropTypes.object, tenant: PropTypes.object, - fetchable: PropTypes.node, } export default connect((state) => ({ tenant: state.tenant }))(Buildset) |