diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/config_output.txt b/config_output.txt new file mode 100644 index 0000000..67623b9 --- /dev/null +++ b/config_output.txt @@ -0,0 +1,3 @@ +Credit balance is too low +SessionEnd hook [node "${CLAUDE_PLUGIN_ROOT}/hooks/session-end-cleanup.mjs"] failed: /bin/sh: node: command not found + diff --git a/src/App.tsx b/src/App.tsx index 9b4c8c5..8b30adb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -471,6 +471,7 @@ export default function App() {
0} hasUnsavedChanges={appState.hasUnsavedChanges} diff --git a/src/components/TopBar.tsx b/src/components/TopBar.tsx index 1d44331..041782d 100644 --- a/src/components/TopBar.tsx +++ b/src/components/TopBar.tsx @@ -4,6 +4,7 @@ import { cn } from '../lib/utils'; interface TopBarProps { stats: any; + activeModule?: string; onExport: () => void; hasData: boolean; hasUnsavedChanges: boolean; @@ -20,7 +21,7 @@ interface TopBarProps { isSavingAll: boolean; } -export function TopBar({ stats, onExport, hasData, hasUnsavedChanges, userEmail, onSignOut, canUndo, onUndo, undoMessage, undoSteps, pendingCount, pendingChanges, onSaveAll, onRevertRow, isSavingAll }: TopBarProps) { +export function TopBar({ stats, activeModule, onExport, hasData, hasUnsavedChanges, userEmail, onSignOut, canUndo, onUndo, undoMessage, undoSteps, pendingCount, pendingChanges, onSaveAll, onRevertRow, isSavingAll }: TopBarProps) { const [showPending, setShowPending] = useState(false); const dropdownRef = useRef(null); @@ -50,7 +51,7 @@ export function TopBar({ stats, onExport, hasData, hasUnsavedChanges, userEmail, />
- {stats && ( + {stats && activeModule === 'descriptions' && (
Total