Fix project line numbering and reorder bootstrap

This commit is contained in:
Mikhail Chusavitin
2026-02-24 16:53:51 +03:00
parent b22e961656
commit aa65fc8156
2 changed files with 52 additions and 8 deletions

View File

@@ -373,7 +373,7 @@ function renderConfigs(configs) {
const serverCount = c.server_count || 1;
const author = c.owner_username || (c.user && c.user.username) || '—';
const unitPrice = serverCount > 0 ? (total / serverCount) : 0;
const lineValue = (typeof c.line === 'number' && c.line > 0) ? c.line : ((idx + 1) * 10);
const lineValue = (idx + 1) * 10;
const serverModel = (c.server_model || '').trim() || '—';
totalSum += total;