diff options
| author | soryu <soryu@soryu.co> | 2026-02-07 16:58:38 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-02-07 16:58:38 +0000 |
| commit | 8f757f561eeb397aaea70d7c10d41445cc5e50b5 (patch) | |
| tree | db64ab219594f069a9f0e11ff0cba10eeb80f862 /makima/frontend/src/routes | |
| parent | 1b72449496ce3a057a43d002c8042d5e7a1d6576 (diff) | |
| download | soryu-8f757f561eeb397aaea70d7c10d41445cc5e50b5.tar.gz soryu-8f757f561eeb397aaea70d7c10d41445cc5e50b5.zip | |
Show directive init on frontend
Diffstat (limited to 'makima/frontend/src/routes')
| -rw-r--r-- | makima/frontend/src/routes/directives.tsx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/makima/frontend/src/routes/directives.tsx b/makima/frontend/src/routes/directives.tsx index 8b82f99..9437389 100644 --- a/makima/frontend/src/routes/directives.tsx +++ b/makima/frontend/src/routes/directives.tsx @@ -129,6 +129,13 @@ function DirectivesContent() { [startDirective, fetchDirective] ); + const handleRefresh = useCallback( + (updated: DirectiveWithChains) => { + setSelectedDirective(updated); + }, + [] + ); + // Detail view if (id) { if (detailLoading) { @@ -152,6 +159,7 @@ function DirectivesContent() { onBack={handleBack} onDelete={handleDelete} onStart={handleStart} + onRefresh={handleRefresh} /> </main> ); |
