Просмотр исходного кода

Remove GET /chat/{service}/ready from dev.html

ZiB 4 месяцев назад
Родитель
Сommit
89407a00ac
1 измененных файлов с 0 добавлено и 9 удалено
  1. 0 9
      room_cal/vue/dev.html

+ 0 - 9
room_cal/vue/dev.html

@@ -256,9 +256,7 @@
   <div class="row" style="margin-top:8px">
     <label class="lbl">service</label>
     <select id="chat-service"></select>
-    <button onclick="doChatReady()" style="margin-left:6px">GET ready</button>
   </div>
-  <div class="result" id="res-chat-ready"></div>
   <div class="row" style="margin-top:8px">
     <label class="lbl">chat_id</label>
     <input id="chat-id" type="text" placeholder="thread / reservation id">
@@ -649,13 +647,6 @@
       show('res-chat-templates', await api('GET', '/chat/templates'));
     }
 
-    async function doChatReady() {
-      const service = document.getElementById('chat-service').value;
-      if (!service) return;
-      pending('res-chat-ready');
-      show('res-chat-ready', await api('GET', `/chat/${service}/ready`));
-    }
-
     async function doChatGet() {
       const service = document.getElementById('chat-service').value;
       const chatId = document.getElementById('chat-id').value.trim();