Merge pull request #8900 from andrej-scinote/aj_SCI_12337

Fix loading team automations page [SCI-12337]
This commit is contained in:
andrej-scinote 2025-09-25 14:28:36 +02:00 committed by GitHub
commit 7b75c049db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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] }
])
);
});