diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-06-09 19:24:43 -0700 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-06-09 21:55:29 -0700 |
commit | e9113b48cec284b041e4130e6afe932913f52d36 (patch) | |
tree | 41323e3ec1c515524de5c40b9939f95c9a13dca3 /src/App.vue | |
parent | 1a42e30a1752be5ab0fba5b224fad5686f12499e (diff) | |
download | homer-e9113b48cec284b041e4130e6afe932913f52d36.tar.gz homer-e9113b48cec284b041e4130e6afe932913f52d36.tar.zst homer-e9113b48cec284b041e4130e6afe932913f52d36.zip |
Optionnal connectivity check
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue index 440ffa0..62156d2 100644 --- a/src/App.vue +++ b/src/App.vue | |||
@@ -49,7 +49,10 @@ | |||
49 | 49 | ||
50 | <section id="main-section" class="section"> | 50 | <section id="main-section" class="section"> |
51 | <div v-cloak class="container"> | 51 | <div v-cloak class="container"> |
52 | <ConnectivityChecker @network:status-update="offline = $event" /> | 52 | <ConnectivityChecker |
53 | v-if="config.connectivityCheck" | ||
54 | @network:status-update="offline = $event" | ||
55 | /> | ||
53 | <div v-if="!offline"> | 56 | <div v-if="!offline"> |
54 | <!-- Optional messages --> | 57 | <!-- Optional messages --> |
55 | <Message :item="config.message" /> | 58 | <Message :item="config.message" /> |