bharbron / hexbook-semantic

An Electron-React-Redux-Semantic-UI application for automatically generating a hexcrawl campaign notebook from random tables.
5 stars 3 forks source link

Update selectors.tables.getTables() so it doesn't filter out 'HEX' #35

Closed bharbron closed 6 years ago

bharbron commented 6 years ago

Currently the selectors.tables.getTables() selector filters out any tables whose ID is 'HEX'. This is because we are using this selector on the tables screen and don't want to manage the 'HEX' table there. (We manage it on the Hexes screen instead).

To make this selector better do what we'd expect from the name, we really should have it return the 'HEX' table as well. I expect we'll want to use this selector at some point to operate on all tables, including 'HEX'.

Update this selector so it doesn't filter out 'HEX'. Also update the tables screen so the filtering out of 'HEX' happens there instead.