2017-09-10 17:25:29 +05:30
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
computed: {
|
|
|
|
currentPath() {
|
2018-11-08 19:23:39 +05:30
|
|
|
return window.location.pathname;
|
2017-09-10 17:25:29 +05:30
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</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>
|