Issue #2475 - UI don't allow to create window with '* * * * *' schedule (#2476)

This commit is contained in:
Alexander Matyushentsev 2019-10-11 10:46:31 -07:00 committed by Alex Collins
parent 88e9cf0e18
commit 15cf89535e

View file

@ -29,7 +29,9 @@ interface ProjectSyncWindowsEditPanelProps {
export const ProjectSyncWindowsEditPanel = (props: ProjectSyncWindowsEditPanelProps) => {
if (props.defaultParams.window === undefined) {
const w = {} as models.SyncWindow;
const w = {
schedule: '* * * * *',
} as models.SyncWindow;
props.defaultParams.window = w;
}
return (