There're some more not being addressed, the majority being from the cwl-svg
library.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
useEffect(() => {
onSearchChange(searchValue);
useEffect(() => {
onSearchChange(searchValue);
+ }, [onSearchChange, searchValue]);
return (<Card data-cy='collection-files-panel' className={classes.root}>
<CardHeader
return (<Card data-cy='collection-files-panel' className={classes.root}>
<CardHeader
break;
}
case ProcessStatusFilter.CANCELLED:
break;
}
case ProcessStatusFilter.CANCELLED:
- case ProcessStatusFilter.FAILED:
case ProcessStatusFilter.LOCKED:
case ProcessStatusFilter.QUEUED:
case ProcessStatusFilter.RUNNING: {
case ProcessStatusFilter.LOCKED:
case ProcessStatusFilter.QUEUED:
case ProcessStatusFilter.RUNNING: {
break;
}
case ProcessStatusFilter.CANCELLED:
break;
}
case ProcessStatusFilter.CANCELLED:
- case ProcessStatusFilter.FAILED:
case ProcessStatusFilter.LOCKED:
case ProcessStatusFilter.RUNNING: {
fb.addEqual('container.state', activeStatusFilter);
case ProcessStatusFilter.LOCKED:
case ProcessStatusFilter.RUNNING: {
fb.addEqual('container.state', activeStatusFilter);
export const saveRequestedDate = () =>
(dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
export const saveRequestedDate = () =>
(dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
- const date = formatDate((new Date).toISOString());
+ const date = formatDate((new Date()).toISOString());
services.virtualMachineService.saveRequestedDate(date);
dispatch<any>(loadRequestedDate());
};
services.virtualMachineService.saveRequestedDate(date);
dispatch<any>(loadRequestedDate());
};
return () => {
window.removeEventListener('storage', handleStorageEvents);
};
return () => {
window.removeEventListener('storage', handleStorageEvents);
};
const handleStorageEvents = (e: StorageEvent) => {
if (e.key === LAST_ACTIVE_TIMESTAMP) {
const handleStorageEvents = (e: StorageEvent) => {
if (e.key === LAST_ACTIVE_TIMESTAMP) {
const handleOnAction = () => {
// Notify the other tabs there was some activity.
const handleOnAction = () => {
// Notify the other tabs there was some activity.
- const now = (new Date).getTime();
+ const now = (new Date()).getTime();
localStorage.setItem(LAST_ACTIVE_TIMESTAMP, now.toString());
};
localStorage.setItem(LAST_ACTIVE_TIMESTAMP, now.toString());
};
return getWorkflowInputs(definition);
}
}
return getWorkflowInputs(definition);
}
}