speaq-ai / react-ui

Production React UI for Speak-ai.
0 stars 1 forks source link

Refactored 'Everything' Pattern #47

Closed forsman5 closed 5 years ago

forsman5 commented 5 years ago

Added a new function which will recursively call the given function for each dataset, if the parameter is 'everything'. This is a repetitive pattern, and this change allows the functions which actually take actions be must more terse.

Also made change layer type dependent on dataset. This is a change of mine which was left out of one of the merges with refactoring the UI.

This will finally close #40