1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-21 13:47:39 +02:00

fix: ensure linkTemplates defaults to an empty array if not provided

This commit is contained in:
Tymoteusz Czech 2025-05-12 13:21:06 +02:00
parent 5708acb5b7
commit 520d708978
No known key found for this signature in database
GPG Key ID: 133555230D88D75F

View File

@ -663,7 +663,7 @@ class ProjectStore implements IProjectStore {
description: row.feature_naming_description, description: row.feature_naming_description,
}, },
...(projectLinkTemplatesEnabled ...(projectLinkTemplatesEnabled
? { linkTemplates: row.link_templates } ? { linkTemplates: row.link_templates || [] }
: {}), : {}),
}; };
} }