feat: small implementation change

ref: N25B-400
This commit is contained in:
Pim Hutting
2026-01-08 11:26:31 +01:00
parent 14cfc2bf15
commit f2c01f67ac

View File

@@ -122,16 +122,7 @@ export const StatusList: React.FC<StatusListProps> = ({ title, items, type }) =>
const handleOverrideClick = () => {
if (!canOverride) return;
let contextValue = String(item.id);
if (type === 'trigger' || type === 'cond_norm') {
if (item.condition?.id) {
contextValue = String(item.condition);
}
}
sendUserInterrupt("override", contextValue);
};