Ensure that the manager doesn't error while prepping string buckets without a pre-existing choices config (closes #26)
This commit is contained in:
parent
2c733385ef
commit
0b89b0e54e
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ export class TableManager extends HandlebarsApplicationMixin(ApplicationV2) {
|
||||||
};
|
};
|
||||||
|
|
||||||
async _prepareStringContext(ctx, table) {
|
async _prepareStringContext(ctx, table) {
|
||||||
ctx.buckets.choices = [...table.buckets.choices];
|
ctx.buckets.choices = [...(table.buckets.choices ?? [])];
|
||||||
};
|
};
|
||||||
// #endregion Data Prep
|
// #endregion Data Prep
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue