diff options
author | Phil Hughes <me@iamphill.com> | 2017-06-07 19:55:33 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-06-07 19:55:33 +0300 |
commit | dc766fdb8bc95ac9ff2ca5e5da4918c5f8c6ab81 (patch) | |
tree | 0d605e4da3f5750701f2b762af5936a7a8da2a18 | |
parent | ac608715cd4054892d76486e5bfedb70b3176e22 (diff) | |
parent | a78456d90446b16d37a13171a9c281366595002b (diff) |
Merge branch '33194-fix-pipelines-tooltip-not-updating' into 'master'
Fix tooltip on pipelines page not updating
Closes #33272
See merge request !11960
-rw-r--r-- | app/assets/javascripts/pipelines/components/stage.vue | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/javascripts/pipelines/components/stage.vue b/app/assets/javascripts/pipelines/components/stage.vue index 7fc19fce1ff..c05c76c9a64 100644 --- a/app/assets/javascripts/pipelines/components/stage.vue +++ b/app/assets/javascripts/pipelines/components/stage.vue @@ -16,6 +16,7 @@ /* global Flash */ import { borderlessStatusIconEntityMap } from '../../vue_shared/ci_status_icons'; import loadingIcon from '../../vue_shared/components/loading_icon.vue'; +import tooltipMixin from '../../vue_shared/mixins/tooltip'; export default { props: { @@ -31,6 +32,10 @@ export default { }, }, + mixins: [ + tooltipMixin, + ], + data() { return { isLoading: false, @@ -127,9 +132,10 @@ export default { <template> <div class="dropdown"> <button + ref="tooltip" :class="triggerButtonClass" @click="onClickStage" - class="mini-pipeline-graph-dropdown-toggle has-tooltip js-builds-dropdown-button" + class="mini-pipeline-graph-dropdown-toggle js-builds-dropdown-button" :title="stage.title" data-placement="top" data-toggle="dropdown" |