Conto Comunitario...
This commit is contained in:
@@ -20,7 +20,7 @@ import { toolsext } from '@store/Modules/toolsext'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { CNotifAtTop } from '@src/components/CNotifAtTop'
|
||||
import { costanti } from '@costanti'
|
||||
import { ICity, IFriends, ICircuit, ISearchList, IUserFields, IAccount } from 'model'
|
||||
import { ICity, IFriends, ICircuit, ISearchList, IUserFields, IAccount, IMyGroup } from 'model'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { colmyUserPeople, colmyUserPeopleSaldi, colmyUserCircuit, colmyMovement, colmyMovementTable } from '@store/Modules/fieldsTable'
|
||||
import { useNotifStore } from '@store/NotifStore'
|
||||
@@ -44,7 +44,7 @@ export default defineComponent({
|
||||
|
||||
const showonlymine = ref(true)
|
||||
const tabellare = ref(false)
|
||||
const groupsListAdmin = ref(<string[]>[])
|
||||
const groupsListAdmin = ref(<IMyGroup[]>[])
|
||||
const groupnameSel = ref('')
|
||||
|
||||
const animation = ref('fade')
|
||||
@@ -267,7 +267,7 @@ export default defineComponent({
|
||||
await loadCircuit()
|
||||
|
||||
if (userStore.my.username)
|
||||
groupsListAdmin.value = userStore.GroupsListWhereIAmAdmin(userStore.my.username)
|
||||
groupsListAdmin.value = userStore.GroupsListWhereIAmAdmin()
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
<div>
|
||||
<q-banner
|
||||
v-if="
|
||||
userStore.my.profile.calc.numGoodsAndServices <= 0 &&
|
||||
userStore.my.profile && userStore.my.profile.calc.numGoodsAndServices <= 0 &&
|
||||
userStore.IsMyCircuitByName(circuit.name)
|
||||
"
|
||||
rounded
|
||||
@@ -228,7 +228,7 @@
|
||||
icon="fas fa-file-word"
|
||||
></q-tab>
|
||||
<q-tab
|
||||
v-if="false && tools.iAmAdminCircuit(circuit.name)"
|
||||
v-if="costanti.ENABLE_CONTI_COMUNITARI && tools.iAmAdminCircuit(circuit.name)"
|
||||
:label="t('circuit.gruppicom')"
|
||||
name="gruppicom"
|
||||
icon="fas fa-coins"
|
||||
|
||||
Reference in New Issue
Block a user