From a6ac24a47cc30b4e4798d0c5f8ec70694b553ddb Mon Sep 17 00:00:00 2001 From: PDFour4 <144648279+PDFour4@users.noreply.github.com> Date: Thu, 12 Mar 2026 14:30:49 +0000 Subject: [PATCH] Changes to fix renderLocation qlty code smell in src/widgets/index.js --- src/widgets/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/index.js b/src/widgets/index.js index 1e0ac6415d..d4e84b3bb4 100644 --- a/src/widgets/index.js +++ b/src/widgets/index.js @@ -39,7 +39,7 @@ widgets.render = async function (uid, options) { return returnData; }; -async function renderLocation(location, data, uid, options, config) { +async function renderLocation({ location, data, uid, options, config }) { const widgetsAtLocation = (data[options.template][location] || []).concat(data.global[location] || []); if (!widgetsAtLocation.length) {