Updated riso.app with Site Configuration Parameter
This commit is contained in:
@@ -82,6 +82,7 @@ export default defineComponent({
|
||||
// Carica il profilo di quest'utente
|
||||
userStore.loadUserProfile({username: userStore.my.username}).then((ris) => {
|
||||
myuser.value = ris
|
||||
console.log('myuser._id', ris)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -105,6 +106,7 @@ export default defineComponent({
|
||||
filtroutente,
|
||||
myuser,
|
||||
t,
|
||||
site: globalStore.site,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -179,6 +179,19 @@
|
||||
>
|
||||
</CMyFieldRec>
|
||||
|
||||
<CMyFieldDb
|
||||
:title="$t('reg.born_city')"
|
||||
table="users"
|
||||
:id="myuser._id"
|
||||
:rec="myuser"
|
||||
tablesel="cities"
|
||||
mykey="profile"
|
||||
mysubkey="born_city_id"
|
||||
jointable="cities"
|
||||
:type="costanti.FieldType.select_by_server"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
|
||||
<CMyFieldDb
|
||||
:title="$t('reg.dateofbirth')"
|
||||
table="users"
|
||||
|
||||
@@ -134,7 +134,8 @@
|
||||
|
||||
<q-btn
|
||||
v-if="myuser.username === myusername()" icon="fas fa-pencil-alt"
|
||||
color="blue"
|
||||
:color="$q.dark.isActive ? `black`: `white`"
|
||||
:text-color="$q.dark.isActive ? `white`: `black`"
|
||||
size="md"
|
||||
:label="$t('otherpages.modifprof')"
|
||||
to="/editprofile">
|
||||
|
||||
Reference in New Issue
Block a user