- Gli annunci (beni/servizi/ospitalità) ora possono essere visti anche tramite un link, anche per chi non è dentro alla App. - Aggiunto bottone "Aggiorna" per aggiornare il Saldo attuale. - I "Conti Collettivi" ora vengono chiamati Gruppi (o Conto di Gruppo).
40 lines
973 B
TypeScript
Executable File
40 lines
973 B
TypeScript
Executable File
import { defineComponent, ref, computed, PropType, toRef } from 'vue'
|
|
import { useUserStore } from '@store/UserStore'
|
|
import { useRouter } from 'vue-router'
|
|
import { useGlobalStore } from '@store/globalStore'
|
|
import { useI18n } from '@/boot/i18n'
|
|
import { tools } from '@store/Modules/tools'
|
|
import { costanti } from '@store/Modules/costanti'
|
|
import { static_data } from '@src/db/static_data'
|
|
import { CRegistration } from '@/components/CRegistration'
|
|
|
|
export default defineComponent({
|
|
name: 'CCheckIfIsLogged',
|
|
components: { CRegistration },
|
|
props: {
|
|
showalways: {
|
|
type: Boolean,
|
|
required: false,
|
|
default: false,
|
|
},
|
|
},
|
|
setup(props, { emit }) {
|
|
|
|
const userStore = useUserStore()
|
|
const $router = useRouter()
|
|
const globalStore = useGlobalStore()
|
|
const { t } = useI18n()
|
|
|
|
const site = ref(globalStore.site)
|
|
|
|
return {
|
|
userStore,
|
|
tools,
|
|
costanti,
|
|
static_data,
|
|
site,
|
|
t,
|
|
}
|
|
}
|
|
})
|