fix: show delete errors even when apps grid is populated

The error state was only rendered when apps.length === 0. Add an
inline error message above the grid so delete/export failures are
visible to the user.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jh-block
2026-03-19 17:26:53 +01:00
parent a9f6de050e
commit be4ea34e59
@@ -268,6 +268,9 @@ export default function AppsView() {
Applications from your MCP servers and Apps build by goose itself. You can ask it to
create new apps through the chat interface and they will appear here.
</p>
{error && apps.length > 0 && (
<p className="text-sm text-red-500 mt-2">{error}</p>
)}
</div>
</div>
</div>