- Aggiunto Filtri
- Finder
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user