summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/jobs/components/empty_state.vue
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-11-02 17:15:56 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-11-02 17:16:52 +0000
commitf80abe5dff3b8395e43d935ae606f2bcf1991153 (patch)
tree0363f71fa9d3be7ae137b5e33bba1e13a275d38e /app/assets/javascripts/jobs/components/empty_state.vue
parentc0d30fad978de58da6d78d8fddcfccf602ebfe82 (diff)
downloadgitlab-ce-f80abe5dff3b8395e43d935ae606f2bcf1991153.tar.gz
Uses gitlab-ui components in jobs components.51259-ci-cd-gitlab-ui
Removes old buttons,links and tooltips and uses the new gitlab-ui components.
Diffstat (limited to 'app/assets/javascripts/jobs/components/empty_state.vue')
-rw-r--r--app/assets/javascripts/jobs/components/empty_state.vue9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/assets/javascripts/jobs/components/empty_state.vue b/app/assets/javascripts/jobs/components/empty_state.vue
index ee5ceb99b0a..be7425c2d25 100644
--- a/app/assets/javascripts/jobs/components/empty_state.vue
+++ b/app/assets/javascripts/jobs/components/empty_state.vue
@@ -1,5 +1,10 @@
<script>
+import { GlLink } from '@gitlab-org/gitlab-ui';
+
export default {
+ components: {
+ GlLink,
+ },
props: {
illustrationPath: {
type: String,
@@ -62,13 +67,13 @@ export default {
v-if="action"
class="text-center"
>
- <a
+ <gl-link
:href="action.path"
:data-method="action.method"
class="js-job-empty-state-action btn btn-primary"
>
{{ action.button_title }}
- </a>
+ </gl-link>
</div>
</div>
</div>