debian-mirror-gitlab/app/assets/javascripts/issue_show/components/locked_warning.vue
2019-01-03 12:48:30 +05:30

20 lines
425 B
Vue

<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>