Skip to content
Snippets Groups Projects
Commit 4e8e2960 authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

Merge branch 'REDMINE-ISSUES/12446' into 'develop'

parents bcd3d4e7 6e47804a
No related branches found
No related tags found
No related merge requests found
...@@ -297,6 +297,7 @@ ...@@ -297,6 +297,7 @@
</li> </li>
</ul> </ul>
<button <button
v-if="isOffline() !== true"
@click="postComment" @click="postComment"
type="button" type="button"
class="ui compact green icon button" class="ui compact green icon button"
...@@ -452,6 +453,9 @@ export default { ...@@ -452,6 +453,9 @@ export default {
}, },
methods: { methods: {
isOffline() {
return navigator.onLine == false;
},
pushNgo(link) { pushNgo(link) {
this.$router.push({ this.$router.push({
name: "details-signalement", name: "details-signalement",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment