Show Button, when Upgrade Version is available ! (check from the server, the version number

- for debug: added led button to see when is calling the server and the IndexedDb.
This commit is contained in:
Paolo Arena
2019-02-22 10:23:00 +01:00
parent 1623a5c35d
commit 0e98ac1eaa
41 changed files with 1411 additions and 992 deletions

View File

@@ -15,6 +15,8 @@ async function sendRequest(url: string, method: string, mydata: any) {
request = Api.Delete(url, mydata)
else if (method === 'PUT')
request = Api.put(url, mydata)
else if (method === 'PATCH')
request = Api.patch(url, mydata)
const req: Promise<Types.AxiosSuccess | Types.AxiosError> = request
return req