Skip to content

[ITE][Admin][Contract control] Fix lại message validation khi add/update package #16

@LeThao4112004

Description

@LeThao4112004

Step:

  1. Login vào admin site + connect ví
  2. Tại menu, click Contract control
  3. Update 1 package bất kì
    Tại form Update Staking Package:
  4. Nhập Lock period = 1461 -> click Send transaction
  5. Nhập APY = 0 -> click Send transaction

Actual:
Tại 4: Đang hiển thị error message chưa phù hợp
Image

Tại 5: Đang hiển thị error message chưa phù hợp
Image

Expected:
Tại 4: Hiển thị error message: "Lock period must be between 1 and 1460 days."
Tại 5: Hiển thị error message: "APY must be greater than 0"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions