Skip to content

Commit

Permalink
Merge branch 'ASSETS-02024' into assets-98990
Browse files Browse the repository at this point in the history
* ASSETS-02024:
  ASSETS-88895 : Updated function getQuickLinkConfig() to still work if the row.Group is undefined or does not exist (#60)
  Assets 98990 - Dynamic campaign list (#61)
  • Loading branch information
TyroneAEM committed Apr 8, 2024
2 parents 8fc4d65 + f34bff4 commit 19f81fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/site-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export async function getQuickLinkConfig() {
const response = await getConfig('site-config.json');

for (const row of response.quicklinks?.data || []) {
if (row.Title && row.Page && row.Group == '') {
if (row.Title && row.Page && (row.Group ?? '') === '') {
result.push({
title: row.Title,
page: row.Page,
Expand Down

0 comments on commit 19f81fe

Please sign in to comment.