Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(settings): handle missing user error center in permissions panel

Steven Enamakel8f84f077f3cc
diff --git a/app/src/components/settings/panels/PermissionsPanel.tsx b/app/src/components/settings/panels/PermissionsPanel.tsx
index 691f8baec6..c5e71db1c0 100644
--- a/app/src/components/settings/panels/PermissionsPanel.tsx
+++ b/app/src/components/settings/panels/PermissionsPanel.tsx
@@ -313,7 +313,7 @@ const PermissionsPanel = () => {
<Button
variant="tertiary"
size="xs"
- className="text-ocean hover:underline"
+ className="text-primary-600 hover:underline"
onClick={startEditActionDir}
data-testid="permissions-action-dir-edit">
{t('settings.agentAccess.actionDir.edit')}
diff --git a/app/src/components/userErrors/UserErrorCenter.tsx b/app/src/components/userErrors/UserErrorCenter.tsx
index 8594c23f06..1d7a0b6244 100644
--- a/app/src/components/userErrors/UserErrorCenter.tsx
+++ b/app/src/components/userErrors/UserErrorCenter.tsx
@@ -104,7 +104,7 @@ function UserErrorCenter() {
type="button"
data-testid="user-error-action"
onClick={() => runAction(entry)}
- className="rounded-md bg-ocean px-2.5 py-1 text-xs font-medium text-white hover:bg-ocean/90">
+ className="rounded-md bg-primary-500 px-2.5 py-1 text-xs font-medium text-content-inverted hover:bg-primary-600">
{t(ACTION_LABEL_KEY[entry.action])}
</button>
)}