Add Fill to queryConfig when field toggled

pull/10616/head
Jared Scheib 2017-09-05 12:00:38 -04:00
parent 84d8f9c4f5
commit 5805b17ab9
1 changed files with 3 additions and 0 deletions

View File

@ -130,9 +130,12 @@ export function applyFuncsToField(
time: shouldRemoveFuncs ? null : defaultGroupBy,
})
const nextFill = NULL_STRING
return Object.assign({}, query, {
fields: nextFields,
groupBy: nextGroupBy,
fill: nextFill,
})
}