-
Notifications
You must be signed in to change notification settings - Fork 74
Conversation
apps/admin_panel/assets/src/omg-exchange-rate-modal/createExchangeModal.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 while ur at it, we should also handle the edge case of really big inputs. like if someone tries to add 999,999,999 ETH for 1 OMG for example we're showing 'infinity' and will show 1 ETH = [object Object] OMG
on the other side. maybe we set a max possible value on the input?
apps/admin_panel/assets/src/omg-exchange-rate-modal/createExchangeModal.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if intended but weird numbers appear when typing long numbers, before eventually becoming NaN.
@nicholasmueller fixed both problem |
* Minor bug fix (#970) * fix missing admin * no wrap row for fromto * remove divider * add color link * fix test * Update admin email (#966) * call right endpoint * split email avatar actions, seperate reducer for alert * verify email call on redirect * verifyemail action tests * remove log, new redirect url * QC 1.2 (#976) * standardize buttons * section titles * allow disable hover effect and fix admin key table * breadcruymb and refine input * modal tweaks, end page 4 of review * dropdown tweaks * consistency for buttons * reorder table, add suffix to config and remove native spinner * ability to cancel changes in config pages and restore original state * highlight selected row when activity tab open * transaction request page clean * cancel edit profile and clean * render create exchange pair if many tokens * breadcrumb to userdetail * unify none state to - in tables * handle disabled state on select * css tweaks and new export layout * seperate time out * new exported range table * tweaks and conditional breadcrumb * remove divider * account name bug * rounding * a not so configurable css tooltip * cleaner conditional * remove selectedrow state * tweak select disabled * fix edit account * Handles incorrect non-list inputs for filters (#978) * Fix exception raised when the given `start_by` field is not allowed (#986) * Fix exception when the given pagination field is not allowed * Fix exception when non-existing field name is provided * Fix rate exchange bug (#984) * fix rate bug * fix topbar height bug * remove more flex * add max length for input * fix icon * fix width * add max amount for input * add props for input * remove prefix * remove log * fix object * bring back animation * finally fix decimal problem * fix formatter * !!!! * fix test * to number of rate * change length * fix audit package * rename admin panel to frontend (#997) * rename to frontend * test rename * fix flex bug (#1003) * fix conflict
Issue/Task Number: #980
Overview
When creating rate, the amount is not passed correctly because it divided a string
x,xxx
/y,yyy
.Changes
Impact
Deploy as usual