Remove timeShift from query options in kapacitor

pull/10616/head
Andrew Watkins 2017-11-16 16:19:51 -08:00
parent 834d1285b7
commit 4963e04d8c
2 changed files with 7 additions and 5 deletions

View File

@ -221,7 +221,7 @@ FieldList.propTypes = {
})
),
}).isRequired,
onTimeShift: func.isRequired,
onTimeShift: func,
onToggleField: func.isRequired,
onGroupByTime: func.isRequired,
onFill: func,

View File

@ -17,10 +17,12 @@ const QueryOptions = ({
selected={groupBy.time}
onChooseGroupByTime={onGroupByTime}
/>
<TimeShiftDropdown
{isKapacitorRule
? null
: <TimeShiftDropdown
selected={shift && shift.label}
onChooseTimeShift={onTimeShift}
/>
/>}
{isKapacitorRule ? null : <FillQuery value={fill} onChooseFill={onFill} />}
</div>