diff --git a/new-lamassu-admin/src/components/LogsDownloaderPopper.js b/new-lamassu-admin/src/components/LogsDownloaderPopper.js index f41dde88..dc37ef88 100644 --- a/new-lamassu-admin/src/components/LogsDownloaderPopper.js +++ b/new-lamassu-admin/src/components/LogsDownloaderPopper.js @@ -1,7 +1,7 @@ import { useLazyQuery } from '@apollo/react-hooks' import { makeStyles, ClickAwayListener } from '@material-ui/core' import classnames from 'classnames' -import { format, isSameDay } from 'date-fns/fp' +import { format } from 'date-fns/fp' import FileSaver from 'file-saver' import * as R from 'ramda' import React, { useState, useCallback } from 'react' @@ -189,7 +189,6 @@ const LogsDownloaderPopover = ({ if (!range || !range.from) return if (range.from && !range.until) range.until = new Date() - if (isSameDay(range.until, range.from)) range.until = new Date() if (selectedRadio === RANGE) { fetchLogs({ diff --git a/new-lamassu-admin/src/components/Tooltip.js b/new-lamassu-admin/src/components/Tooltip.js index 952305ee..2fa5b7f9 100644 --- a/new-lamassu-admin/src/components/Tooltip.js +++ b/new-lamassu-admin/src/components/Tooltip.js @@ -1,4 +1,5 @@ import { makeStyles, ClickAwayListener } from '@material-ui/core' +import * as R from 'ramda' import React, { useState, memo } from 'react' import Popper from 'src/components/Popper' @@ -8,9 +9,9 @@ const useStyles = makeStyles({ transparentButton: { border: 'none', backgroundColor: 'transparent', - marginTop: 4, outline: 'none', - cursor: 'pointer' + cursor: 'pointer', + marginTop: 4 }, popoverContent: ({ width }) => ({ width, @@ -69,11 +70,22 @@ const HoverableTooltip = memo(({ parentElements, children, width }) => { return (
Loading...
} {!loading && data?.map((it, idx) => ( -{it.extraInfo}
-The "Reject reused addresses" option means that all addresses that are used once will be automatically rejected if there's an attempt to use them again on a new transaction.
-Transaction fudge factor
-- Automatically accept customer deposits as complete if their - received amount is 100 crypto atoms or less. -
-- (Crypto atoms are the smallest unit in each cryptocurrency. E.g., - satoshis in Bitcoin, or wei in Ethereum.) -
-Transaction fudge factor
++ Automatically accept customer deposits as complete if their + received amount is 100 crypto atoms or less. +
++ (Crypto atoms are the smallest unit in each cryptocurrency. + E.g., satoshis in Bitcoin, or wei in Ethereum.) +
+This is a percentage discount off of your existing commission rates for a customer entering this code at @@ -110,7 +110,7 @@ const IndividualDiscountModal = ({ code is set for 50%, then you'll instead be charging 4% on transactions using the code.
-This is a percentage discount off of your existing commission rates for a customer entering this code at the @@ -80,7 +80,7 @@ const PromoCodesModal = ({ showModal, onClose, errorMsg, addCode }) => { set for 50%, then you'll instead be charging 4% on transactions using the code.
-Since previous update
-Number of bills inside the cash box, since the last cash box changes.
-For details on configuring this panel, please read the relevant knowledgebase article{' '} @@ -78,7 +78,7 @@ const CoinATMRadar = memo(({ wizard }) => { .
-This option requires a user to scan a different cryptocurrency address if they attempt to scan one that had been previously used for a transaction in your network
-Two-way machines allow your customers not only to buy (cash-in) but also sell cryptocurrencies (cash-out). @@ -111,7 +111,7 @@ function Twilio({ doContinue }) { You’ll need an SMS service for cash-out transactions and for any compliance triggers
-