GamesSettings

GamesSettings

new GamesSettings(navigate)

Source:
Properties:
Name Type Description
props object
gamesSettings Array

All games settings data

checkPermisson boolean

Check if user have permission for specific action or view

currency string

Currency sign

activeModal string

Active modal

modalData object

Modal data

getGamesSettings function

Call API for games settings

saveLeaguesSettings function

Call API to save changes

setOpenModal function

Open modal

nextNavigationLink object

link for navigation

setNavigationInfo function

set navigation info for unsaved data

Parameters:
Name Type Description
navigate
Properties
Name Type Description
navigate

Methods

(inner) handleInputChange(field, e) → {void}

Description:
  • Handle change on inputs

Source:
Parameters:
Name Type Description
field object
e Event
Returns:
Type
void

(inner) handleMultipleBonusChange(e) → {void}

Description:
  • Handle change on multiple bonus inputs

Source:
Parameters:
Name Type Description
e Event
Returns:
Type
void

(inner) processErrorMessages(validationParams) → {object}

Source:
Parameters:
Name Type Description
validationParams object
Returns:
Type
object

(inner) refresh() → {void}

Description:
  • Load original data

Source:
Returns:
Type
void

(inner) renderButtons() → {view}

Description:
  • Render buttons

Source:
Returns:
Type
view

(inner) renderInputSettings(field, key) → {view}

Description:
  • Render all imput settings fields

Source:
Parameters:
Name Type Description
field object
key string
Returns:
Type
view

(inner) renderMultipleBoost() → {view}

Description:
  • Render multiple boost input

Source:
Returns:
Type
view

(inner) saveProcess()

Description:
  • Save process - validation before save

Source:

(inner) unsavedNavigation() → {void}

Description:
  • close modal and navigate

Source:
Returns:
Type
void