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/issue_show/components/issuable_header_warnings.vue')
-rw-r--r--app/assets/javascripts/issue_show/components/issuable_header_warnings.vue28
1 files changed, 0 insertions, 28 deletions
diff --git a/app/assets/javascripts/issue_show/components/issuable_header_warnings.vue b/app/assets/javascripts/issue_show/components/issuable_header_warnings.vue
deleted file mode 100644
index b6816be9eb8..00000000000
--- a/app/assets/javascripts/issue_show/components/issuable_header_warnings.vue
+++ /dev/null
@@ -1,28 +0,0 @@
-<script>
-import { mapState } from 'vuex';
-import Icon from '~/vue_shared/components/icon.vue';
-
-export default {
- components: {
- Icon,
- },
- computed: {
- ...mapState({
- confidential: ({ noteableData }) => noteableData.confidential,
- dicussionLocked: ({ noteableData }) => noteableData.discussion_locked,
- }),
- },
-};
-</script>
-
-<template>
- <div class="gl-display-inline-block">
- <div v-if="confidential" class="issuable-warning-icon inline">
- <icon class="icon" name="eye-slash" data-testid="confidential" />
- </div>
-
- <div v-if="dicussionLocked" class="issuable-warning-icon inline">
- <icon class="icon" name="lock" data-testid="locked" />
- </div>
- </div>
-</template>