Version 0.5.15: ONLINE !
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.5.13"
|
||||
APP_VERSION="0.5.15"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="13"
|
||||
DIRECTORY_LOCAL="newfreeplanet"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.5.13"
|
||||
APP_VERSION="0.5.15"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="13"
|
||||
DIRECTORY_LOCAL=newfreeplanet
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.5.13"
|
||||
APP_VERSION="0.5.15"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="13"
|
||||
DIRECTORY_LOCAL="newfreeplanet"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.5.13"
|
||||
APP_VERSION="0.5.15"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="12"
|
||||
DIRECTORY_LOCAL="newfreeplanet"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.5.13"
|
||||
APP_VERSION="0.5.15"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="13"
|
||||
DIRECTORY_LOCAL="newfreeplanet"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.5.13"
|
||||
APP_VERSION="0.5.15"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="13"
|
||||
DIRECTORY_LOCAL=newfreeplanet
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.5.13"
|
||||
APP_VERSION="0.5.15"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="14"
|
||||
DIRECTORY_LOCAL="newfreeplanet"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.5.13"
|
||||
APP_VERSION="0.5.15"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="14"
|
||||
DIRECTORY_LOCAL=newfreeplanet
|
||||
|
||||
@@ -1086,6 +1086,7 @@ export default defineComponent({
|
||||
nome_valuta: 1,
|
||||
fido_scoperto_default: 1,
|
||||
qta_max_default: 1,
|
||||
valuta_per_euro: 1,
|
||||
symbol: 1,
|
||||
idCity: 1,
|
||||
pub_to_share: 1,
|
||||
|
||||
@@ -355,6 +355,7 @@ export default defineComponent({
|
||||
function onRejected (rejectedEntries: any) {
|
||||
// Notify plugin needs to be installed
|
||||
// https://quasar.dev/quasar-plugins/notify#Installation
|
||||
console.log('rejectedEntries', rejectedEntries)
|
||||
$q.notify({
|
||||
type: 'negative',
|
||||
message: 'La Dimensione massima dell\'immagine è di 2 MB'
|
||||
|
||||
@@ -669,31 +669,37 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function getDirectoryGall() {
|
||||
let ris = ''
|
||||
let username = myrow.value.hasOwnProperty('username') ? myrow.value['username'] : ''
|
||||
let userId = myrow.value.hasOwnProperty('userId') ? myrow.value['userId'] : ''
|
||||
console.log('getDirectoryGall', myrow.value)
|
||||
|
||||
if (username === '') {
|
||||
if (userId === userStore.my._id)
|
||||
let ris = ''
|
||||
try {
|
||||
let username = myrow.value.hasOwnProperty('username') ? myrow.value['username'] : ''
|
||||
let userId = myrow.value.hasOwnProperty('userId') ? myrow.value['userId'] : ''
|
||||
|
||||
if (username === '') {
|
||||
if (userId === userStore.my._id)
|
||||
username = userStore.my.username
|
||||
}
|
||||
if (username === '') {
|
||||
username = userStore.my.username
|
||||
}
|
||||
if (username === '') {
|
||||
username = userStore.my.username
|
||||
}
|
||||
if (fieldsTable.tableForUsers.includes(props.table)) {
|
||||
ris = 'profile/' + username + '/' + props.table
|
||||
} else if (props.table === 'users') {
|
||||
ris = 'profile/' + userStore.my.username
|
||||
} else if (props.table === 'mygroups') {
|
||||
if (myrow.value.hasOwnProperty('groupname'))
|
||||
ris = 'mygroups/' + myrow.value['groupname']
|
||||
} else if (props.table === 'circuits') {
|
||||
if (myrow.value.hasOwnProperty('path'))
|
||||
ris = 'circuits/' + myrow.value['path']
|
||||
} else if (!!myrow.value && !!myrow.value.directory) {
|
||||
ris = myrow.value.directory
|
||||
} else {
|
||||
ris = props.table
|
||||
}
|
||||
if (fieldsTable.tableForUsers.includes(props.table)) {
|
||||
ris = 'profile/' + username + '/' + props.table
|
||||
} else if (props.table === 'users') {
|
||||
ris = 'profile/' + userStore.my.username
|
||||
} else if (props.table === 'mygroups') {
|
||||
if (myrow.value.hasOwnProperty('groupname'))
|
||||
ris = 'mygroups/' + myrow.value['groupname']
|
||||
} else if (props.table === 'circuits') {
|
||||
if (myrow.value.hasOwnProperty('path'))
|
||||
ris = 'circuits/' + myrow.value['path']
|
||||
} else if (!!myrow.value && !!myrow.value.directory) {
|
||||
ris = myrow.value.directory
|
||||
} else {
|
||||
ris = props.table
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('err getDirectoryGall', e)
|
||||
}
|
||||
console.log('getDirectoryGall', ris)
|
||||
return ris
|
||||
|
||||
@@ -2592,6 +2592,7 @@ export const colTableCircuit = [
|
||||
fieldtype: costanti.FieldType.currency, required: true, visulabel: true }),
|
||||
AddCol({ name: 'qta_max_default', label_trans: 'circuit.qta_max_default',
|
||||
fieldtype: costanti.FieldType.currency, required: true, visulabel: true }),
|
||||
AddCol({ name: 'valuta_per_euro', label_trans: 'circuit.valuta_per_euro', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'totCircolante', label_trans: 'circuit.totCircolante',
|
||||
fieldtype: costanti.FieldType.currency, visulabel: true,
|
||||
showWhen: costanti.showWhen.InPage + costanti.showWhen.InView,
|
||||
|
||||
@@ -3500,7 +3500,7 @@ export const tools = {
|
||||
return tools.getServerHost() + `/uploadnew/${this.getvers()}/`
|
||||
},
|
||||
escapeslash(mystr: string) {
|
||||
return mystr.replace(/\//g, '-')
|
||||
return mystr.replace(/\//g, 'Ç')
|
||||
},
|
||||
geturlrelativeprofile() {
|
||||
return costanti.DIR_UPLOAD + 'profile'
|
||||
@@ -5901,6 +5901,7 @@ export const tools = {
|
||||
symbol: 'RIS',
|
||||
fido_scoperto_default: 100,
|
||||
qta_max_default: 500,
|
||||
valuta_per_euro: 1,
|
||||
totTransato: 0,
|
||||
totCircolante: 0,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user