From 101dc1436dfb174dbcdbbe9d9a230846508df6cb Mon Sep 17 00:00:00 2001 From: ht Date: Sun, 6 Sep 2026 17:24:24 +0300 Subject: [PATCH] announce notification panel loading state --- src/components/tools/DeliveryQueue.jsx | 2 +- src/components/tools/TelegramBaglanti.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/tools/DeliveryQueue.jsx b/src/components/tools/DeliveryQueue.jsx index 3b73f3b..86cc24c 100644 --- a/src/components/tools/DeliveryQueue.jsx +++ b/src/components/tools/DeliveryQueue.jsx @@ -13,7 +13,7 @@ function Queue({weekly}){ const load=async()=>{const data=await accountRequest(endpoint);const rows=requireArray(data,'deliveries');if(alive.current)setRows(rows);}; const act=async fn=>{if(locked.current)return;locked.current=true;setBusy(true);setError(null);try{await fn();}catch(e){if(alive.current)setError(e.message);}finally{locked.current=false;if(alive.current)setBusy(false);}}; useEffect(()=>{alive.current=true;void act(load);return()=>{alive.current=false;};},[]); - return
+ return

{weekly?'Haftalık özet gönderim incelemesi':'E-posta gönderim incelemesi'} · Yönetici

{weekly?'Haftalık özetin bekleyen mesajları ve inceleme kararları gösterilir.':'Bekleyen işler ve son inceleme kararları gösterilir (en fazla 50).'} Belirsiz gönderimi sağlayıcı kaydıyla karşılaştırın. Bu işlemler yeni mesaj göndermez.

diff --git a/src/components/tools/TelegramBaglanti.jsx b/src/components/tools/TelegramBaglanti.jsx index 2c5f4fd..6126058 100644 --- a/src/components/tools/TelegramBaglanti.jsx +++ b/src/components/tools/TelegramBaglanti.jsx @@ -37,7 +37,7 @@ const TelegramPanel = ({isAdmin}) => { }; useEffect(()=>{alive.current=true;void calistir('load',yenile);return()=>{alive.current=false;};},[]); - if(!d)return
+ if(!d)return

Telegram Bildirimi

{busy&&

Bağlantı durumu yükleniyor…

} {mesaj&&

{mesaj.metin}

} @@ -45,7 +45,7 @@ const TelegramPanel = ({isAdmin}) => {
; return ( -
+

Telegram Bildirimi