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:
parent
5708acb5b7
commit
520d708978
@ -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 || [] }
|
||||||
: {}),
|
: {}),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user