1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Flutter Service Worker

This commit is contained in:
David Bomba 2021-01-04 20:53:58 +11:00
parent 93d811f665
commit ad57469ee4
2 changed files with 2 additions and 3 deletions

View File

@ -46,7 +46,6 @@ class Client extends BaseModel implements HasLocalePreference
protected $fillable = [
'assigned_user_id',
'currency_id',
'name',
'website',
'private_notes',

View File

@ -96,7 +96,7 @@
document.getElementById('loader').style.display = 'none';
});
/*
function invokeServiceWorkerUpdateFlow() {
// you have a better UI here, reloading is not a great user experince here.
const confirmed = confirm('New version of the app is available. Refresh now');
@ -143,7 +143,7 @@
}
handleServiceWorker();
*/
</script>
<script defer src="main.dart.js?v={{ config('ninja.app_version') }}" type="application/javascript"></script>