🐛 (Home) Add FAB in homepage

This commit is contained in:
Julien Calixte
2019-11-21 13:59:39 +01:00
parent 544054770b
commit 5d55d15b44
3 changed files with 12 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ export default class OnlineView extends Vue {
public mounted(): void {
window.addEventListener('online', this.onchange)
window.addEventListener('offline', this.onchange)
this.$emit(this.online ? 'online' : 'offline')
this.onchange()
}
public beforeDestroy(): void {