se sei sulla pagina, la notifica di "gia letto" non viene settata.

- aggiunto "RIS" ai tipi di contributi
- Amicizia accettata compare 2 volte nelle notifiche
- Bottone click sull utente non funziona
This commit is contained in:
Paolo Arena
2022-09-18 19:45:26 +02:00
parent da17c2b060
commit 193afa770b
23 changed files with 119 additions and 56 deletions

View File

@@ -35,7 +35,7 @@ export default defineComponent({
const from_username = ref(userStore.my.username)
const circuitsel = ref('')
const qty = ref(<number>1)
const qty = ref(<string|number>'')
const causal = ref('')
const bothcircuits = ref(<any>[])
@@ -51,6 +51,7 @@ export default defineComponent({
const arrayMarkerLabel = ref(<any>[])
const qtyRef = ref(<any>null)
const causalRef = ref(<any>null)
watch(() => circuitsel.value, (newval, oldval) => {
tools.setCookie(tools.CIRCUIT_USE, newval)
@@ -165,6 +166,7 @@ export default defineComponent({
arrayMarkerLabel,
remainingCoins,
qtyRef,
causalRef,
maxsendable,
circuitStore,
numstep,

View File

@@ -37,13 +37,13 @@
<q-input
ref="qtyRef"
class="q-py-sm text-h5"
outlined v-model="qty" type="text"
:rules="[ val => val <= circuitStore.getRemainingCoinsToSend(accountloaded) || t('circuit.qta_remaining_to_send', { maxqta: circuitStore.getRemainingCoinsToSend(accountloaded), symbol: circuitloaded.symbol })]"
outlined v-model="qty" type="number"
:rules="[
val => val <= circuitStore.getRemainingCoinsToSend(accountloaded) || t('circuit.qta_remaining_to_send', { maxqta: circuitStore.getRemainingCoinsToSend(accountloaded), symbol: circuitloaded.symbol }),
val => val > 0 || t('circuit.qta_not_valid')]"
:label="t('movement.amount_to_send', {qtamax: circuitStore.getRemainingCoinsToSend(accountloaded) ? circuitStore.getRemainingCoinsToSend(accountloaded).toFixed(2) : 0 + ` ` + circuitloaded.symbol})"
mask="#.##"
fill-mask="0"
reverse-fill-mask
input-class="text-right"
v-on:keyup.enter="$event.target.nextElementSibling.focus()"
>
<!--val => val > circuitStore.getMaxCoinsToSend(accountloaded) || t('circuit.qta_max_to_send', { maxqta: tools.getRemainingCoinsToSend(accountloaded), symbol: circuitloaded.symbol })]" -->
<template v-slot:append>
@@ -60,9 +60,8 @@
v-model="qty"
color="green"
markers
readonly
track-size="10px"
:step="numstep"
:step="numstep/2"
:marker-labels="arrayMarkerLabel"
label-always
:label-value="priceLabel"
@@ -74,7 +73,9 @@
/>
</div>
<q-input v-model="causal" label="Note" class="q-my-sm full-width">
<q-input
ref="causalRef"
v-model="causal" label="Note" class="q-my-sm full-width">
</q-input>
</q-card-section>