💄 (pwa) separate buttons

This commit is contained in:
Julien Calixte
2023-07-18 00:23:47 +02:00
parent f2d464ce74
commit 08fab78b66

View File

@@ -24,14 +24,16 @@ const close = async () => {
New content available, click on reload button to update. New content available, click on reload button to update.
</span> </span>
</div> </div>
<button <div class="buttons">
class="button is-primary" <button
v-if="needRefresh" class="button is-primary"
@click="updateServiceWorker()" v-if="needRefresh"
> @click="updateServiceWorker()"
Reload >
</button> Reload
<button class="button" @click="close">Close</button> </button>
<button class="button" @click="close">Close</button>
</div>
</div> </div>
</template> </template>