Add experiment logs to the monitoring page #48
@@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user