From 8275f5849670836cb9b7f7915a8202c19f719d11 Mon Sep 17 00:00:00 2001 From: GEgorov Date: Sun, 12 Oct 2025 19:28:28 +0300 Subject: [PATCH] modified: frontend/src/App.tsx modified: frontend/src/components/Sidebar.tsx --- frontend/src/App.tsx | 11 ----------- frontend/src/components/Sidebar.tsx | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 331626e..be7dab1 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -125,17 +125,6 @@ function App() { } /> - { - try { - document.location.reload() - return true - } catch(err) { - return false - } - }} - /> } /> diff --git a/frontend/src/components/Sidebar.tsx b/frontend/src/components/Sidebar.tsx index 783a230..0b96121 100644 --- a/frontend/src/components/Sidebar.tsx +++ b/frontend/src/components/Sidebar.tsx @@ -9,7 +9,7 @@ const navItems = [ { to: '/api-keys', icon: Key, label: 'API Ключи' }, { to: '/logs', icon: FileText, label: 'Логи' }, { to: '/settings', icon: Settings, label: 'Настройки' }, - { to: '/api-docs', icon: Book, label: 'Swagger' }, + { to: '/api-docs', icon: Book, label: 'Swagger', external: true }, ]; export default function Sidebar() {