summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/static_site_editor/components/saved_changes_message.vue
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/static_site_editor/components/saved_changes_message.vue')
-rw-r--r--app/assets/javascripts/static_site_editor/components/saved_changes_message.vue20
1 files changed, 8 insertions, 12 deletions
diff --git a/app/assets/javascripts/static_site_editor/components/saved_changes_message.vue b/app/assets/javascripts/static_site_editor/components/saved_changes_message.vue
index d76c6d9d681..41cb901720c 100644
--- a/app/assets/javascripts/static_site_editor/components/saved_changes_message.vue
+++ b/app/assets/javascripts/static_site_editor/components/saved_changes_message.vue
@@ -1,14 +1,14 @@
<script>
import { isString } from 'lodash';
-import { GlLink, GlNewButton } from '@gitlab/ui';
+import { GlLink, GlButton } from '@gitlab/ui';
const validateUrlAndLabel = value => isString(value.label) && isString(value.url);
export default {
components: {
GlLink,
- GlNewButton,
+ GlButton,
},
props: {
branch: {
@@ -46,16 +46,12 @@ export default {
}}
</p>
<div class="d-flex justify-content-end">
- <gl-new-button ref="returnToSiteButton" :href="returnUrl">{{
+ <gl-button ref="returnToSiteButton" :href="returnUrl">{{
s__('StaticSiteEditor|Return to site')
- }}</gl-new-button>
- <gl-new-button
- ref="mergeRequestButton"
- class="ml-2"
- :href="mergeRequest.url"
- variant="success"
- >{{ s__('StaticSiteEditor|View merge request') }}</gl-new-button
- >
+ }}</gl-button>
+ <gl-button ref="mergeRequestButton" class="ml-2" :href="mergeRequest.url" variant="success">
+ {{ s__('StaticSiteEditor|View merge request') }}
+ </gl-button>
</div>
</div>
@@ -64,7 +60,7 @@ export default {
<ul>
<li>
{{ s__('StaticSiteEditor|You created a new branch:') }}
- <gl-link ref="branchLink" :href="branch.url">{{ branch.label }}</gl-link>
+ <span ref="branchLink">{{ branch.label }}</span>
</li>
<li>
{{ s__('StaticSiteEditor|You created a merge request:') }}