diff --git a/.env.development b/.env.development index 021ea209..6c811628 100755 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="0.2.4" +APP_VERSION="0.2.5" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL="newfreeplanet" diff --git a/_ALL_SITES/freeplanet.app/.env.development b/_ALL_SITES/freeplanet.app/.env.development index 657ca664..4b997013 100755 --- a/_ALL_SITES/freeplanet.app/.env.development +++ b/_ALL_SITES/freeplanet.app/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="0.2.4" +APP_VERSION="0.2.5" SERVICE_WORKER_FILE="service-worker.js" APP_ID="1" DIRECTORY_LOCAL="newfreeplanet" diff --git a/_ALL_SITES/insiemesipuo.app/.env.development b/_ALL_SITES/insiemesipuo.app/.env.development index 021ea209..6c811628 100755 --- a/_ALL_SITES/insiemesipuo.app/.env.development +++ b/_ALL_SITES/insiemesipuo.app/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="0.2.4" +APP_VERSION="0.2.5" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL="newfreeplanet" diff --git a/_ALL_SITES/popolodelnuovomondo.app/.env.development b/_ALL_SITES/popolodelnuovomondo.app/.env.development index 6a8d46e0..a761a871 100755 --- a/_ALL_SITES/popolodelnuovomondo.app/.env.development +++ b/_ALL_SITES/popolodelnuovomondo.app/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="0.2.4" +APP_VERSION="0.2.5" SERVICE_WORKER_FILE="service-worker.js" APP_ID="12" DIRECTORY_LOCAL="newfreeplanet" diff --git a/public/upload/profile/paoloar77/ball4.jpg b/public/upload/profile/paoloar77/ball4.jpg deleted file mode 100644 index 42b89e4c..00000000 Binary files a/public/upload/profile/paoloar77/ball4.jpg and /dev/null differ diff --git a/public/upload/undefined/serenita_interiore.jpg b/public/upload/undefined/serenita_interiore.jpg deleted file mode 100644 index 3d8fbb99..00000000 Binary files a/public/upload/undefined/serenita_interiore.jpg and /dev/null differ diff --git a/src/components/CGallery/CGallery.ts b/src/components/CGallery/CGallery.ts index f9934792..6109511f 100755 --- a/src/components/CGallery/CGallery.ts +++ b/src/components/CGallery/CGallery.ts @@ -1,4 +1,4 @@ -import { defineComponent, ref, PropType, watch, onMounted } from 'vue' +import { defineComponent, ref, PropType, watch, onMounted, computed } from 'vue' import { useI18n } from '@src/boot/i18n' import { useUserStore } from '@store/UserStore' import { useQuasar } from 'quasar' @@ -65,6 +65,15 @@ export default defineComponent({ return (myobj && typeof myobj !== 'string' && typeof myobj !== 'undefined') } + const isListImgValid = computed(() => { + const arr = getlistimages() + if (arr && tools.isArray(arr)) { + return arr.length > 0 + } else { + return !!arr + } + }) + watch(() => props.imgGall, (newval, oldval) => { if (isValid(props.imgGall)) { // @ts-ignore @@ -379,6 +388,7 @@ export default defineComponent({ fullscreen, fullscreensrc, onRejected, + isListImgValid, } } }) diff --git a/src/components/CGallery/CGallery.vue b/src/components/CGallery/CGallery.vue index 078a63df..2fdcb62a 100755 --- a/src/components/CGallery/CGallery.vue +++ b/src/components/CGallery/CGallery.vue @@ -3,9 +3,10 @@
- +
+ AA @@ -17,7 +18,7 @@
-
+
@@ -25,6 +26,14 @@
+
+ + + + +
-
+
@@ -227,7 +236,7 @@ accept="image/jpeg, image/jpg, image/png, .pdf" :url="getUrl()" :headers="tools.getheaders()" - :max-file-size="2000000" + :max-file-size="40000000" multiple auto-upload hide-upload-btn @@ -238,7 +247,7 @@ >
-
+
+
+