1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-06 03:02:34 +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 = [ protected $fillable = [
'assigned_user_id', 'assigned_user_id',
'currency_id',
'name', 'name',
'website', 'website',
'private_notes', 'private_notes',

View File

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