Fix: Plan-Eingang crashte wegen fehlender Context-Handler.
All checks were successful
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 2m0s
Test Suite / lint-backend (push) Successful in 3s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 15s
All checks were successful
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 2m0s
Test Suite / lint-backend (push) Successful in 3s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 15s
handleUpdateBacklog und handleReorderBacklog waren in InitiativeInboxPage nicht destructured — ReferenceError, leerer Screen. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
3e96b9c1e9
commit
21d948634e
|
|
@ -1,5 +1,6 @@
|
||||||
import { useInitiativeOperations } from '../../context/InitiativeOperationsContext.jsx'
|
import { useInitiativeOperations } from '../../context/InitiativeOperationsContext.jsx'
|
||||||
import { BacklogSection } from '../../components/BacklogSection.jsx'
|
import { BacklogSection } from '../../components/BacklogSection.jsx'
|
||||||
|
import { LoadingState } from '../../components/LoadingState.jsx'
|
||||||
|
|
||||||
export function InitiativeInboxPage() {
|
export function InitiativeInboxPage() {
|
||||||
const {
|
const {
|
||||||
|
|
@ -8,9 +9,10 @@ export function InitiativeInboxPage() {
|
||||||
capabilities,
|
capabilities,
|
||||||
formBusy,
|
formBusy,
|
||||||
error,
|
error,
|
||||||
|
loading,
|
||||||
handleCreateBacklog,
|
handleCreateBacklog,
|
||||||
handleBacklogGate,
|
handleUpdateBacklog,
|
||||||
handleBacklogStatus,
|
handleReorderBacklog,
|
||||||
handleConvertBacklog,
|
handleConvertBacklog,
|
||||||
handleDeleteBacklog,
|
handleDeleteBacklog,
|
||||||
} = useInitiativeOperations()
|
} = useInitiativeOperations()
|
||||||
|
|
@ -19,6 +21,10 @@ export function InitiativeInboxPage() {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (loading) {
|
||||||
|
return <LoadingState message="Lade Eingang …" />
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{error && <p className="error">{error}</p>}
|
{error && <p className="error">{error}</p>}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user