DmitrMakeev commited on
Commit
ba92d2b
·
verified ·
1 Parent(s): 198ca28

Update data_gc_tab.html

Browse files
Files changed (1) hide show
  1. data_gc_tab.html +4 -1
data_gc_tab.html CHANGED
@@ -107,7 +107,10 @@
107
  {title:"Телефон", field:"phone"},
108
  {title:"Email", field:"email"},
109
  {title:"VK ID", field:"vk_id"},
110
- {title:"Chat ID", field:"chat_id"},
 
 
 
111
  {title:"Статус WhatsApp", field:"ws_statys"},
112
  {title:"Стутус подписки", field:"ws_stop"},
113
  {title:"Вебинары", field:"web_statys"},
 
107
  {title:"Телефон", field:"phone"},
108
  {title:"Email", field:"email"},
109
  {title:"VK ID", field:"vk_id"},
110
+ {title:"Chat ID", field:"chat_id", formatter: function(cell, formatterParams, onRendered) {
111
+ var chatId = cell.getValue();
112
+ return `<a href="https://t.me/${chatId}" target="_blank">${chatId}</a>`;
113
+ }},
114
  {title:"Статус WhatsApp", field:"ws_statys"},
115
  {title:"Стутус подписки", field:"ws_stop"},
116
  {title:"Вебинары", field:"web_statys"},