fix: hide counter on All tab in projects table
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,10 @@
|
||||
"Bash(git commit -q -m 'style: card-bg dark-based alpha to match Safari panel look *)",
|
||||
"Bash(git commit -q -m 'style: white-based card-bg 0.07, blur 12px→20px for less transparency *)",
|
||||
"Bash(git commit -q -m 'fix: subcontractor PDF quality, footer on all pages, header gap *)",
|
||||
"mcp__plugin_supabase_supabase__execute_sql"
|
||||
"mcp__plugin_supabase_supabase__execute_sql",
|
||||
"Bash(sed -n '88,100p' src/pages/Tasks.jsx)",
|
||||
"Bash(sed -n '570,600p' src/pages/Tasks.jsx)",
|
||||
"Bash(git commit -q -m 'fix: hide counter on All tab in projects table *)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -135,7 +135,7 @@ function TasksPageShell({ statsTasks = [], projects = [], onAddProject = null, c
|
||||
{projectTabs.map(t => (
|
||||
<button key={t.id} onClick={() => setProjTab(t.id)} className={`section-tab-btn${projTab === t.id ? ' is-active' : ''}`}>
|
||||
{t.label}
|
||||
{projectTabCounts[t.id] > 0 && (
|
||||
{t.id !== 'all' && projectTabCounts[t.id] > 0 && (
|
||||
<span style={{ marginLeft: 5, fontSize: 12, fontWeight: 600, color: projTab === t.id ? 'var(--accent)' : 'var(--text-muted)', background: 'var(--card-bg-2)', border: '1px solid var(--border)', borderRadius: 10, padding: '3px 8px' }}>
|
||||
{projectTabCounts[t.id]}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user