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

locked_warning.vue « components « issue_show « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0682c6f2a35882d4f905b3ebc7fb9c4b699a7aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<script>
export default {
  computed: {
    currentPath() {
      return window.location.pathname;
    },
  },
};
</script>

<template>
  <div class="alert alert-danger">
    Someone edited the issue at the same time you did. Please check out
    <a
      :href="currentPath"
      target="_blank"
      rel="nofollow">the issue</a>
    and make sure your changes will not unintentionally remove theirs.
  </div>
</template>