feat(админка): возврат в чат из шапки и открытие диалогов пользователей
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -102,6 +102,9 @@ function DialogsTab() {
|
||||
{key: 'last_question', label: 'Последний вопрос', render: (r) => String(r.last_question || '').slice(0, 120)},
|
||||
{key: 'last_ts', label: 'Был(а)', render: (r) => new Date(r.last_ts * 1000).toLocaleString('ru-RU')},
|
||||
{key: 'msg_count', label: 'Сообщений', num: true},
|
||||
{key: 'open', label: 'Открыть', render: (r) => html`<a href=${'/?tab=' +
|
||||
encodeURIComponent(r.tab_id) + '&owner=' + encodeURIComponent(r.username)}
|
||||
target="_blank" rel="noopener noreferrer">Открыть</a>`},
|
||||
]} />`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user