Load the offline image quietly in the background
This commit is contained in:
parent
3211e1e8ea
commit
52bdae90d3
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div v-if="isOnline">
|
<div v-if="isOnline">
|
||||||
|
<!-- This is a workaround to get the sw to "see" the to-be-cached version of the offline background image -->
|
||||||
|
<div class="offline" style="height: 0;width: 0;"></div>
|
||||||
<nav class="navbar main-theme is-fixed-top" role="navigation" aria-label="main navigation"
|
<nav class="navbar main-theme is-fixed-top" role="navigation" aria-label="main navigation"
|
||||||
v-if="user.authenticated && user.infos.type === authTypes.USER">
|
v-if="user.authenticated && user.infos.type === authTypes.USER">
|
||||||
<div class="navbar-brand">
|
<div class="navbar-brand">
|
||||||
|
|
Loading…
Reference in a new issue