On empty list, return empty array. Instead of error

This commit is contained in:
hannathkadher
2024-11-07 10:41:54 +04:00
parent 2edf65ab07
commit af6aefca9c
3 changed files with 3 additions and 11 deletions

View File

@ -14,8 +14,6 @@ export class SceneIconSeeder {
});
if (defaultSceneIconData.length <= 0) {
console.log('Creating default scene icon...');
await this.createDefaultSceneIcon();
}
} catch (err) {