diff --git a/api/static/js/index.js b/api/static/js/index.js index 8bde676..36bc870 100644 --- a/api/static/js/index.js +++ b/api/static/js/index.js @@ -6771,19 +6771,7 @@ function renderOrdersTab(tabId, tabData) { statusCell = `${statusText}`; } - // Рендерим комментарий исполнителя - let commentCell; - if (fullAccess && (order.status === 'new' || order.status === 'working')) { - commentCell = ` - - `; - } else { - commentCell = `${order.executor_comment || 'Нет комментария'}`; - } - + // Рендерим строку return ` @@ -6796,16 +6784,17 @@ function renderOrdersTab(tabId, tabData) { ${order.updated_at} ${order.executor_id ? (userMap[order.executor_id] || `Пользователь ${order.executor_id}`) : '-'} - ${commentCell} + ${fullAccess ? ` - ${fullAccess && (order.status === 'new' || order.status === 'working') ? ` - - ` : '☑️'} + `: ''}