- Aggiunto Filtri

- Finder
This commit is contained in:
Paolo Arena
2021-12-11 00:25:35 +01:00
parent c517dedd47
commit cab0562de7
25 changed files with 465 additions and 48 deletions

View File

@@ -509,14 +509,18 @@ export default defineComponent({
}
}
function getDirectoryGall() {
let ris = ''
if (fieldsTable.tableForUsers.includes(props.table)) {
return 'profile/' + userStore.my.username + '/' + props.table
console.log('1')
ris = 'profile/' + myrow.value['username'] + '/' + props.table
}else if (props.table === 'users') {
return 'profile/' + userStore.my.username
console.log('2')
ris = 'profile/' + userStore.my.username
} else {
return props.table
console.log('3')
ris = props.table
}
return ris
}
function uploaded(info: any) {

View File

@@ -79,7 +79,6 @@
:directory="getDirectoryGall()"
:imgGall="myvalue" :edit="isviewfield()"
@showandsave="Savedb">
</CGallery>
</div>
<div v-else-if="col.fieldtype === costanti.FieldType.image">
@@ -93,7 +92,6 @@
:single="isFieldDb()"
@update:imgGall="changevalRec"
@showandsave="Savedb">
</CGallery>
</div>
<div v-else>