Commit 4e12e75a authored by Kushal Pandya's avatar Kushal Pandya

Merge branch...

Merge branch '229219-matej-replace-loadingbutton-with-gitlab-ui-s-glbutton-in-app-assets-javascripts-pipelines' into 'master'

Replace loading button in pipelines nav controls

Closes #229219

See merge request gitlab-org/gitlab!39300
parents 699e40dd 34dd51e6
<script> <script>
import { GlButton } from '@gitlab/ui'; import { GlButton } from '@gitlab/ui';
import LoadingButton from '~/vue_shared/components/loading_button.vue';
export default { export default {
name: 'PipelineNavControls', name: 'PipelineNavControls',
components: { components: {
LoadingButton,
GlButton, GlButton,
}, },
props: { props: {
...@@ -52,13 +50,14 @@ export default { ...@@ -52,13 +50,14 @@ export default {
{{ s__('Pipelines|Run Pipeline') }} {{ s__('Pipelines|Run Pipeline') }}
</gl-button> </gl-button>
<loading-button <gl-button
v-if="resetCachePath" v-if="resetCachePath"
:loading="isResetCacheButtonLoading" :loading="isResetCacheButtonLoading"
:label="s__('Pipelines|Clear Runner Caches')"
class="js-clear-cache" class="js-clear-cache"
@click="onClickResetCache" @click="onClickResetCache"
/> >
{{ s__('Pipelines|Clear Runner Caches') }}
</gl-button>
<gl-button v-if="ciLintPath" :href="ciLintPath" class="js-ci-lint"> <gl-button v-if="ciLintPath" :href="ciLintPath" class="js-ci-lint">
{{ s__('Pipelines|CI Lint') }} {{ s__('Pipelines|CI Lint') }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment