chore: make if more readable
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2021-11-10 20:16:46 +01:00
parent 1cd5b41c96
commit 15a6e52815
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 6 additions and 4 deletions

View File

@ -2,10 +2,10 @@
<ready>
<div :class="{'is-touch': isTouch}">
<div :class="{'is-hidden': !online}">
<!-- 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>
<top-navigation v-if="authUser"/>
<content-auth v-if="authUser"/>
<template v-if="authUser">
<top-navigation/>
<content-auth/>
</template>
<content-link-share v-else-if="authLinkShare"/>
<content-no-auth v-else/>
<notification/>

View File

@ -1,4 +1,6 @@
<template>
<!-- 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>
<div class="app offline" v-if="!online">
<div class="offline-message">
<h1>{{ $t('offline.title') }}</h1>