diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index 10c8e55..4b6f96c 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -24,8 +24,13 @@ export function Header({ currentPage, onNavigate }: HeaderProps) { // Determine button state and tooltip const isLiveActive = isLiveEnabled && isFullyConfigured; const getTooltip = () => { - if (!isFullyConfigured && !configLoading) { - return 'Configure GitHub and Gitea settings to enable live refresh'; + if (configLoading) { + return 'Loading configuration...'; + } + if (!isFullyConfigured) { + return isLiveEnabled + ? 'Live refresh enabled but requires GitHub and Gitea configuration to function' + : 'Enable live refresh (requires GitHub and Gitea configuration)'; } return isLiveEnabled ? 'Disable live refresh' : 'Enable live refresh'; }; @@ -68,17 +73,18 @@ export function Header({ currentPage, onNavigate }: HeaderProps) {