Fix loading team automations page [SCI-12337]

This commit is contained in:
Andrej 2025-09-25 14:01:56 +02:00
parent 812591ef5a
commit 07ca0c81d6

View file

@ -77,7 +77,7 @@ export default {
this.teamAutomationSettings = Object.fromEntries(
Object.keys(this.emptySettings).map(key => [
key,
{ ...this.emptySettings[key], ...this.teamObject.teamSettings?.team_automation_settings[key] }
{ ...this.emptySettings[key], ...(this.teamObject.teamSettings?.team_automation_settings || {})[key] }
])
);
});