- sistemazioni Email : registrazione, invio invito, email di benvenuto
- fix circuito - profilo
This commit is contained in:
@@ -70,9 +70,13 @@ export default defineComponent({
|
||||
const globalStore = useGlobalStore();
|
||||
|
||||
const circuit = ref(<IMyCircuit | ICircuit | null>null);
|
||||
const account = computed(() =>
|
||||
circuit.value ? userStore.getAccountByCircuitId(circuit.value._id) : null
|
||||
);
|
||||
const account = computed(() => {
|
||||
if (groupnameSel.value) {
|
||||
return userStore.getAccountGroupByCircuitId(circuit.value._id, groupnameSel.value);
|
||||
} else {
|
||||
return circuit.value ? userStore.getAccountByCircuitId(circuit.value._id) : null;
|
||||
}
|
||||
});
|
||||
|
||||
const qtarem = computed(() =>
|
||||
account.value ? circuitStore.getRemainingCoinsToSend(account.value) : 0
|
||||
@@ -84,7 +88,8 @@ export default defineComponent({
|
||||
circuitStore.getFidoConcessoByUsername(
|
||||
props.myuser,
|
||||
circuit.value._id,
|
||||
props.username
|
||||
groupnameSel.value ? '' : props.username,
|
||||
groupnameSel.value ? groupnameSel.value.groupname : ''
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user