Remove timeShift from query options in kapacitor
parent
834d1285b7
commit
4963e04d8c
|
@ -221,7 +221,7 @@ FieldList.propTypes = {
|
|||
})
|
||||
),
|
||||
}).isRequired,
|
||||
onTimeShift: func.isRequired,
|
||||
onTimeShift: func,
|
||||
onToggleField: func.isRequired,
|
||||
onGroupByTime: func.isRequired,
|
||||
onFill: func,
|
||||
|
|
|
@ -17,10 +17,12 @@ const QueryOptions = ({
|
|||
selected={groupBy.time}
|
||||
onChooseGroupByTime={onGroupByTime}
|
||||
/>
|
||||
<TimeShiftDropdown
|
||||
selected={shift && shift.label}
|
||||
onChooseTimeShift={onTimeShift}
|
||||
/>
|
||||
{isKapacitorRule
|
||||
? null
|
||||
: <TimeShiftDropdown
|
||||
selected={shift && shift.label}
|
||||
onChooseTimeShift={onTimeShift}
|
||||
/>}
|
||||
{isKapacitorRule ? null : <FillQuery value={fill} onChooseFill={onFill} />}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue