From a98a7e572500e4536875faf0cb4e2d2c97e3063b Mon Sep 17 00:00:00 2001 From: benjl Date: Wed, 17 Jan 2024 07:14:52 -0700 Subject: [PATCH] fix: Fix syntax in import/export dialogue --- scripts/pages/settings/page.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/pages/settings/page.js b/scripts/pages/settings/page.js index 6461ec07..3d74bc8c 100644 --- a/scripts/pages/settings/page.js +++ b/scripts/pages/settings/page.js @@ -141,8 +141,7 @@ class SettingsShared { findCvarsRecursive(section); let cvarParams = ''; - for (const [i, cvar] in cvars.entries()) - cvarParams += (index !== 0 ? '&' : '') + 'cvar' + (index + 1) + '=' + cvar; + for (const [i, cvar] of cvars.entries()) cvarParams += (i !== 0 ? '&' : '') + 'cvar' + (i + 1) + '=' + cvar; UiToolkitAPI.ShowCustomLayoutPopupParameters( '',