chore: make if more readable
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
1cd5b41c96
commit
15a6e52815
|
@ -2,10 +2,10 @@
|
||||||
<ready>
|
<ready>
|
||||||
<div :class="{'is-touch': isTouch}">
|
<div :class="{'is-touch': isTouch}">
|
||||||
<div :class="{'is-hidden': !online}">
|
<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 -->
|
<template v-if="authUser">
|
||||||
<div class="offline" style="height: 0;width: 0;"></div>
|
<top-navigation/>
|
||||||
<top-navigation v-if="authUser"/>
|
<content-auth/>
|
||||||
<content-auth v-if="authUser"/>
|
</template>
|
||||||
<content-link-share v-else-if="authLinkShare"/>
|
<content-link-share v-else-if="authLinkShare"/>
|
||||||
<content-no-auth v-else/>
|
<content-no-auth v-else/>
|
||||||
<notification/>
|
<notification/>
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<template>
|
<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="app offline" v-if="!online">
|
||||||
<div class="offline-message">
|
<div class="offline-message">
|
||||||
<h1>{{ $t('offline.title') }}</h1>
|
<h1>{{ $t('offline.title') }}</h1>
|
||||||
|
|
Reference in New Issue