- add set cookies to table

- fix filters
This commit is contained in:
Paolo Arena
2021-12-16 10:56:57 +01:00
parent 48297094ae
commit c6e0c23650
16 changed files with 496 additions and 214 deletions

View File

@@ -3,7 +3,7 @@ import { CTitleBanner } from '@/components/CTitleBanner'
import { CProfile } from '@/components/CProfile'
import { CSkill } from '@/components/CSkill'
import { tools } from '@store/Modules/tools'
import { defineComponent } from 'vue'
import { defineComponent, onMounted, ref } from 'vue'
import { useUserStore } from '@store/UserStore'
import { useRouter } from 'vue-router'
import { useGlobalStore } from '@store/globalStore'
@@ -24,6 +24,8 @@ export default defineComponent({
const $q = useQuasar()
const { t } = useI18n();
const filtroutente = ref(<any[]>[])
function getpayment() {
return userStore.my.profile.paymenttypes
}
@@ -71,12 +73,21 @@ export default defineComponent({
})
}
function mounted() {
filtroutente.value = [
{ userId: userStore.my._id}
]
}
onMounted(mounted)
return {
eliminaAccount,
profile,
getpayment,
tools,
costanti,
filtroutente,
}
}
})