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>
import { GlButton } from '@gitlab/ui';
import LoadingButton from '~/vue_shared/components/loading_button.vue';
export default {
name: 'PipelineNavControls',
components: {
LoadingButton,
GlButton,
},
props: {
......@@ -52,13 +50,14 @@ export default {
{{ s__('Pipelines|Run Pipeline') }}
</gl-button>
<loading-button
<gl-button
v-if="resetCachePath"
:loading="isResetCacheButtonLoading"
:label="s__('Pipelines|Clear Runner Caches')"
class="js-clear-cache"
@click="onClickResetCache"
/>
>
{{ s__('Pipelines|Clear Runner Caches') }}
</gl-button>
<gl-button v-if="ciLintPath" :href="ciLintPath" class="js-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