diff --git a/db.sqlite3 b/db.sqlite3 index b99df7b5b..6ceb3825f 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/front/package-lock.json b/front/package-lock.json index 0564dd613..5b96438d0 100644 --- a/front/package-lock.json +++ b/front/package-lock.json @@ -1,12 +1,12 @@ { "name": "front", - "version": "0.0.18", + "version": "0.0.19", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "front", - "version": "0.0.18", + "version": "0.0.19", "dependencies": { "@fullcalendar/core": "^6.1.8", "@fullcalendar/daygrid": "^6.1.8", diff --git a/front/package.json b/front/package.json index 6dccaecbb..dc20529ad 100644 --- a/front/package.json +++ b/front/package.json @@ -1,6 +1,6 @@ { "name": "front", - "version": "0.0.18", + "version": "0.0.19", "scripts": { "dev": "vite", "build": "vite build", diff --git a/front/src/utils/universal_functions.js b/front/src/utils/universal_functions.js index a988f0425..e26e97e86 100644 --- a/front/src/utils/universal_functions.js +++ b/front/src/utils/universal_functions.js @@ -28,12 +28,17 @@ export function getfromserver(path, reactive){ export function checkremote(filecheck){ - let tmp = new Image - tmp.src=filecheck - if(tmp.complete){ - return filecheck - } - else {return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg"} + axiosApiInstance.get(filecheck).then(result => { + console.log(result, '-------------'); + }).catch(e=>{ + return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg" + }) + // let tmp = new Image + // tmp.src=filecheck + // if(tmp.complete){ + // return filecheck + // } + // else {return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg"} }