summaryrefslogtreecommitdiff
path: root/web/src/containers/build/Buildset.jsx
diff options
context:
space:
mode:
authorFelix Edel <felix.edel@bmw.de>2020-10-16 10:03:12 +0200
committerFelix Edel <felix.edel@bmw.de>2020-11-04 09:19:07 +0100
commitf61da0a5e4236d63e19d2526e8f84781b00388ef (patch)
tree46f70cbd8f6d0b9f061438782b2f64d6da2be65f /web/src/containers/build/Buildset.jsx
parent7e131757a52b2bae73dfeb870cd551cd49fa47cd (diff)
downloadzuul-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.jsx5
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)