Odstraneni vue-inner-image-zoom, oprava na dotazovani na verejny seznam letu u kopilota

This commit is contained in:
Michal Kváček
2023-11-07 17:47:23 +01:00
parent 284f8d2c53
commit 8beb7bb9d6
5 changed files with 4 additions and 14 deletions
-1
View File
@@ -25,7 +25,6 @@
"quasar": "^2.12.0",
"vue": "^3.2.47",
"vue-chartjs": "^5.2.0",
"vue-inner-image-zoom": "^2.0.0",
"vue-picture-cropper": "^0.7.0",
"vue-router": "^4.1.6",
"vue3-google-map": "^0.15.0"
-6
View File
@@ -1,6 +0,0 @@
import {boot} from "quasar/wrappers";
import InnerImageZoom from 'vue-inner-image-zoom';
export default boot(({app}) => {
app.component("inner-image-zoom", InnerImageZoom);
})
+2 -2
View File
@@ -13,8 +13,8 @@ ${FRAGMENT_COPILOT_LIST_INFO}
`;
export const COPILOT_DETAIL = gql`
query copilot($id: Int!) {
copilot(id: $id) {
query copilot($id: Int!, $pilotUsername: String) {
copilot(id: $id, pilotUsername: $pilotUsername) {
...copilotFullInfo
flights {
@@ -73,6 +73,8 @@ const isRequestPending = storeToRefs(useFlightsStore()).isMutationRunning;
const uploadInProgress = ref(false);
const handlePhotosUpload = (data) => {
// todo udelat batch napr. po 5 requestech
// TODO: udelat batch i pro rotace a davkove upravy (info)
const promises = [];
uploadInProgress.value = true;
for (const photo of data.photos) {
-5
View File
@@ -3017,11 +3017,6 @@ vue-eslint-parser@^9.0.1:
lodash "^4.17.21"
semver "^7.3.6"
vue-inner-image-zoom@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/vue-inner-image-zoom/-/vue-inner-image-zoom-2.0.0.tgz#d84a8d5f4b76ba8d9675bfb67927aef06c4cf62c"
integrity sha512-PrCppBbgffCLCpvetEWzt+8qzYs984HrhEj/9649/4nPV9leCeditl2MY5IgKWElWpDgtR3j0O2sLDVcpgGbYA==
vue-picture-cropper@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/vue-picture-cropper/-/vue-picture-cropper-0.7.0.tgz#e9dec1b17542ba6c681a7ba6240282193e101d68"