Dashactyl icon indicating copy to clipboard operation
Dashactyl copied to clipboard

Calculation error in Store

Open ErrorDoc404 opened this issue 3 years ago • 1 comments

Describe the bug Wrong calculation working while we add second time in store

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Store'
  2. Click on 'Add Ram/CPU/DISK'
  3. Scroll down to 'Add 2 time please'
  4. See error you well see the calculation error.

Expected behavior not converting to parseInt

Screenshots image

Desktop (please complete the following information):

  • OS: Windown 10
  • Browser Chrome
  • Version Latest

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

ErrorDoc404 avatar Sep 12 '22 17:09 ErrorDoc404

You must have changed the values in the database to not be an integer and be a string instead.

JamieGrimwood avatar Sep 27 '22 09:09 JamieGrimwood