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

edit_header.vue « components « static_site_editor « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5660bfbe5aeaa05092e4e3c3bf50b3e5f93c9767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<script>
import { DEFAULT_HEADING } from '../constants';

export default {
  props: {
    title: {
      type: String,
      required: false,
      default: '',
    },
  },
  computed: {
    heading() {
      return this.title || DEFAULT_HEADING;
    },
  },
};
</script>
<template>
  <div>
    <h3 ref="sseHeading">{{ heading }}</h3>
  </div>
</template>