ver: 0.5.62
Conti Collettivi visibili solo se sei admin...
This commit is contained in:
@@ -101,8 +101,6 @@ export default defineComponent({
|
||||
|
||||
async function loadCircuit() {
|
||||
|
||||
tabcircuit.value = tools.getCookie(tools.COOK_TAB_CIRCUIT + path.value, 'info')
|
||||
|
||||
loading.value = true
|
||||
// Carica il profilo di quest'utente
|
||||
if (path.value) {
|
||||
@@ -285,10 +283,12 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
async function mounted() {
|
||||
tabcircuit.value = tools.getCookie(tools.COOK_TAB_CIRCUIT + path.value, 'info')
|
||||
|
||||
await loadCircuit()
|
||||
|
||||
if (userStore.my.username)
|
||||
groupsListAdmin.value = userStore.GroupsListWhereIAmAdmin()
|
||||
if (userStore.my.username && circuit.value)
|
||||
groupsListAdmin.value = userStore.GroupsListWhereIAmAdmin(circuit.value.name)
|
||||
|
||||
}
|
||||
|
||||
@@ -457,6 +457,7 @@ export default defineComponent({
|
||||
groupnameSel,
|
||||
showsendCoinTo,
|
||||
showrules,
|
||||
loadCircuit,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user