Fix broken entry in asset list when gallery is open

311f226be4f787c2f76c0c7a67877705562cf446

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Showing whitespace changes
public/scripts/extensions/assets/index.js+2 -2
@@ -139,8 +139,8 @@ async function downloadAssetsList(url) {
139139 assetTypeMenu.append(await renderExtensionTemplateAsync('assets', 'installation'));
140140 }
141141
142142 for (const iasset inof availableAssets[assetType].sort((a, b) => a?.name && b?.name && a['name'].localeCompare(b['name']))) {
143143 const asseti = availableAssets[assetType][i].indexOf(asset);
144144 const elemId = `assets_install_${assetType}_${i}`;
145145 let element = $('<div />', { id: elemId, class: 'asset-download-button right_menu_button' });
146146 const label = $('<i class="fa-fw fa-solid fa-download fa-lg"></i>');