Monitoring page #41

Closed
8464960 wants to merge 59 commits from feat/monitoringpage into demo
Showing only changes of commit f2c01f67ac - Show all commits

View File

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