Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/vue_shared/new_namespace/components/welcome.vue')
-rw-r--r--app/assets/javascripts/vue_shared/new_namespace/components/welcome.vue11
1 files changed, 4 insertions, 7 deletions
diff --git a/app/assets/javascripts/vue_shared/new_namespace/components/welcome.vue b/app/assets/javascripts/vue_shared/new_namespace/components/welcome.vue
index caa85d3eaaf..1b4da047057 100644
--- a/app/assets/javascripts/vue_shared/new_namespace/components/welcome.vue
+++ b/app/assets/javascripts/vue_shared/new_namespace/components/welcome.vue
@@ -1,11 +1,7 @@
<script>
-import SafeHtml from '~/vue_shared/directives/safe_html';
import Tracking from '~/tracking';
export default {
- directives: {
- SafeHtml,
- },
mixins: [Tracking.mixin()],
props: {
title: {
@@ -38,9 +34,10 @@ export default {
@click="track('click_tab', { label: panel.name })"
>
<div
- v-safe-html="panel.illustration"
- class="new-namespace-panel-illustration gl-text-white gl-display-flex gl-flex-shrink-0 gl-justify-content-center"
- ></div>
+ class="new-namespace-panel-illustration gl-display-flex gl-flex-shrink-0 gl-justify-content-center"
+ >
+ <img aria-hidden :src="panel.imageSrc" />
+ </div>
<div class="gl-pl-4">
<h3 class="gl-font-size-h2 gl-reset-color">
{{ panel.title }}