From 88193a895558be01d0bf5f77ce67eabb2695f710 Mon Sep 17 00:00:00 2001 From: Macbook Date: Sun, 21 Dec 2025 19:16:37 +0300 Subject: [PATCH] release v1.2 --- api/static/js/index.js | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) 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') ? ` - - ` : '☑️'} + `: ''}