Store configuration owner by MariaDB username
This commit is contained in:
@@ -861,7 +861,7 @@ function renderAllConfigs(configs) {
|
||||
const date = new Date(c.created_at).toLocaleDateString('ru-RU');
|
||||
const total = c.total_price ? '$' + c.total_price.toLocaleString('en-US', {minimumFractionDigits: 2}) : '—';
|
||||
const serverCount = c.server_count ? c.server_count : 1;
|
||||
const username = c.user ? c.user.username : '—';
|
||||
const username = c.owner_username || (c.user ? c.user.username : '—');
|
||||
|
||||
html += '<tr class="hover:bg-gray-50">';
|
||||
html += '<td class="px-3 py-2 text-sm text-gray-500">' + date + '</td>';
|
||||
|
||||
Reference in New Issue
Block a user