Bug fixes

This commit is contained in:
sairaj mote 2023-07-18 02:02:47 +05:30
parent 659ca87473
commit 081c1ebd35
5 changed files with 12 additions and 7 deletions

View File

@ -709,6 +709,7 @@ ol li::before {
align-items: center;
grid-template-columns: minmax(0, 1fr) auto auto;
min-height: 4rem;
flex-shrink: 0;
}
#user_profile_button {

2
css/main.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -650,6 +650,7 @@ ol {
align-items: center;
grid-template-columns: minmax(0, 1fr) auto auto;
min-height: 4rem;
flex-shrink: 0;
}
#user_profile_button {
background-color: var(--blue-accent-1);

View File

@ -363,7 +363,8 @@
</svg>
</a>
<details class="grid gap-1"
style="border-top: solid thin rgba(var(--text-color), 0.5); padding-top: 1rem" open>
style="border-top: solid thin rgba(var(--text-color), 0.5); padding-top: 1rem; padding-bottom: 1rem;"
open>
<summary style="margin-bottom: 1.5rem;">
<h4 style="font-weight: 500;">Send Rupee tokens to other
RanchiMall products</h4>
@ -3502,7 +3503,9 @@
return clone;
},
walletRequestCard(details) {
const { time, message: { mode, amount }, note, tag, vectorClock } = details;
const { time, message: { mode, amount }, note, tag, vectorClock, senderID } = details;
// return empty text node if not my request
if (senderID !== floGlobals.myFloID) return document.createTextNode('');
const clone = getRef('wallet_request_template').content.cloneNode(true).firstElementChild.firstElementChild;
const type = mode === 'cash-to-token' ? 'Top-up' : 'Withdraw';
let status = tag ? tag : (note ? 'REJECTED' : "PENDING");

File diff suppressed because one or more lines are too long