mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
fix(session): handle 404 with not-found fallbacks and add SSE-gated message polling (#316)
This commit is contained in:
1 parent
632ce132bb
commit
8a8bdc18b0
5 files changed
+57
-4
No files matched your search
@@ -57,6 +57,7 @@ export const SessionCard = ({
|
||||
}`}
|
||||
>
|
||||
<button
|
||||
aria-label="Delete session"
|
||||
className="h-full w-full flex items-center justify-center text-white hover:bg-red-700"
|
||||
onClick={handleDeleteClick}
|
||||
>
|
||||
@@ -174,6 +175,7 @@ export const SessionCard = ({
|
||||
)}
|
||||
{manageMode && (
|
||||
<button
|
||||
aria-label="Delete session"
|
||||
className="h-6 w-6 p-0 text-foreground hover:text-red-600 dark:hover:text-red-400 bg-transparent border-none cursor-pointer"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
|
||||
Reference in new issue
Block a user