Commit 1e77f0e5 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'aregnery/import-repo-button-variant-update' into 'master'

Change variant to confirm for import button

See merge request gitlab-org/gitlab!84766
parents 7d5e463d 8770cf54
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
</template> </template>
<div class="gl-display-flex gl-justify-content-space-between gl-flex-wrap gl-mb-5"> <div class="gl-display-flex gl-justify-content-space-between gl-flex-wrap gl-mb-5">
<gl-button <gl-button
variant="success" variant="confirm"
:loading="isImportingAnyRepo" :loading="isImportingAnyRepo"
:disabled="!hasImportableRepos" :disabled="!hasImportableRepos"
type="button" type="button"
......
...@@ -31,7 +31,7 @@ describe('ImportProjectsTable', () => { ...@@ -31,7 +31,7 @@ describe('ImportProjectsTable', () => {
const findImportAllButton = () => const findImportAllButton = () =>
wrapper wrapper
.findAll(GlButton) .findAll(GlButton)
.filter((w) => w.props().variant === 'success') .filter((w) => w.props().variant === 'confirm')
.at(0); .at(0);
const findImportAllModal = () => wrapper.find({ ref: 'importAllModal' }); const findImportAllModal = () => wrapper.find({ ref: 'importAllModal' });
......
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