mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
flutter refresh local storage
This commit is contained in:
parent
46c0340403
commit
5ccfb453e9
@ -73,6 +73,12 @@
|
||||
</style>
|
||||
|
||||
<script>
|
||||
@if (request()->clear)
|
||||
window.onload = function() {
|
||||
window.localStorage.clear();
|
||||
}
|
||||
@endif
|
||||
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function () {
|
||||
navigator.serviceWorker.register('/flutter_service_worker.js?v={{ $hash }}');
|
||||
|
Loading…
Reference in New Issue
Block a user