🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix: narrow acceptance empty filter translation key (#17504)
Arvin Xu89404a6f7d50
diff --git a/src/features/Verify/Acceptance/Workspace/AcceptanceListPanel.tsx b/src/features/Verify/Acceptance/Workspace/AcceptanceListPanel.tsxindex b6ff20c3651..12aec1031e0 100644--- a/src/features/Verify/Acceptance/Workspace/AcceptanceListPanel.tsx+++ b/src/features/Verify/Acceptance/Workspace/AcceptanceListPanel.tsx@@ -63,6 +63,10 @@ import {const PANEL_MIN = 260;const PANEL_MAX = 420;const ACCEPTANCE_LIST_FILTER_STORAGE_KEY = 'lobehub-acceptance-list-filter';+const EMPTY_FILTER_KEYS = {+ active: 'acceptance.workspace.filters.empty.active',+ completed: 'acceptance.workspace.filters.empty.completed',+} as const satisfies Record<Exclude<AcceptanceListFilter, 'all'>, string>;const styles = createStaticStyles(({ css }) => ({panel: css`@@ -625,7 +629,9 @@ const AcceptanceListPanel = memo<ReportPanelExpand>(({ expand, isNarrow, setExpa<span className={styles.searchEmptyMsg}>{trimmedQuery? t('acceptance.workspace.filters.noSearchResults', { query: trimmedQuery })- : t(`acceptance.workspace.filters.empty.${filter}`)}+ : filter === 'all'+ ? null+ : t(EMPTY_FILTER_KEYS[filter])}</span><buttonclassName={styles.retryBtn}