PointSettings

PointSettings

new PointSettings()

Source:
Properties:
Name Type Description
props object
Properties
Name Type Description
pointSettings Array

All point settings data

currency Array

Currency sign

ranks Array

All ranks

checkPermisson boolean

Check if user have permission to edit page

getPointSettings function

Call API for point settings

savePointSettings function

Call API to save changes

setOpenModal function

Open modal

nextNavigationLink object

link for navigation

setNavigationInfo function

set navigation info for unsaved data

Members

edit :boolean

Source:
Type:
  • boolean

fields :Array

Source:
Type:
  • Array

setTableInfo

Description:
  • set table info

Source:

set table info

state :object

Source:
Properties:
Name Type Description
rerender boolean
Type:
  • object

unsavedNavigation

Description:
  • close modal and navigate

Source:

close modal and navigate

Methods

componentDidMount() → {void}

Description:
  • Get point settings

Source:
Returns:
Type
void

componentDidUpdate(prevProps) → {void}

Description:
  • Set table heading

Source:
Parameters:
Name Type Description
prevProps object
Returns:
Type
void

render() → {view}

Description:
  • Render

Source:
Returns:
Type
view

save() → {void}

Description:
  • Call API to save data

Source:
Returns:
Type
void