diff --git a/dashboards/telegram-ads.html b/dashboards/telegram-ads.html index a48c52d..62a6e16 100644 --- a/dashboards/telegram-ads.html +++ b/dashboards/telegram-ads.html @@ -1124,6 +1124,7 @@ document.querySelectorAll('.tab-btn').forEach(b => b.classList.remove('active')); const activeBtn = document.getElementById('tab-btn-' + tabId); if (activeBtn) activeBtn.classList.add('active'); + if (tabId === 'channels' && typeof renderChannelsTable === 'function') renderChannelsTable(); } function filterLine(line) { @@ -1386,6 +1387,7 @@ ${t.post_draft} loadPersistedState(); calculateSimulator(); updateLiveAdPreview(); + renderChannelsTable(); }); diff --git a/telegram-ads.html b/telegram-ads.html index a48c52d..62a6e16 100644 --- a/telegram-ads.html +++ b/telegram-ads.html @@ -1124,6 +1124,7 @@ document.querySelectorAll('.tab-btn').forEach(b => b.classList.remove('active')); const activeBtn = document.getElementById('tab-btn-' + tabId); if (activeBtn) activeBtn.classList.add('active'); + if (tabId === 'channels' && typeof renderChannelsTable === 'function') renderChannelsTable(); } function filterLine(line) { @@ -1386,6 +1387,7 @@ ${t.post_draft} loadPersistedState(); calculateSimulator(); updateLiveAdPreview(); + renderChannelsTable(); });