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 tables so they have an array of templates instead of a single template #40

Closed bharbron closed 6 years ago

bharbron commented 6 years ago

We actually want our tables to be able to be attached to more than one template.

To accomplish this, we need to update the state.entities.tables schema (and all code that works with it) to have an array of templates instead of a single template.

This will include making sure we loop through the array of templates when displaying template labels, etc.

Templates should still be attached to only a single table, so state.entities.templates can remain unchanged.