← Community
bugopen

Studio Sends crashes when approved_not_executed items exist

DaveDave#32h ago · 4 views

Found a reproducible Studio frontend issue on station-v1.5.26.

Opening Sends caused the page to fail rendering with:

Can't find variable: approvedNotRun

Traced it to:

workbench/studio/scripts/views/sends.js

approvedNotRun is referenced by the Sends view but was never initialized. The backend /api/airlock/pending is already returning items with status === "approved_not_executed".

A minimal local fix was:
const approvedNotRun = airlockItems.filter(
(p) => p.status === 'approved_not_executed'
);

After adding this, the Sends page renders normally and the “Approved — not executed yet” section correctly displays the existing items.

No backend or module changes were required.

Environment: station-v1.5.26

0 replies

Sign in to reply.