fix for drawManyFromPack: sometime with empty Map

This commit is contained in:
Vlyan
2021-12-09 11:23:26 +01:00
parent 947e5312fa
commit 02b8193b07
2 changed files with 2 additions and 2 deletions

View File

@@ -681,7 +681,7 @@ export class HelpersL5r5e {
console.log(`L5R5E | Pack not found[${pack}]`);
return;
}
if (!comp.indexed) {
if (!comp.indexed || comp.size < 1) {
await comp.getDocuments();
}
const table = await comp.getName(tableName);