Make fieldNames opaque if they are in process of moving

pull/3180/head
ebb-tide 2018-04-07 14:35:25 -07:00
parent f935478cff
commit 7e60df6b6b
2 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,7 @@ interface Props {
displayName: string
visible: boolean
onFieldUpdate?: (field: Field) => void
opacity: number
}
class GraphOptionsCustomizableField extends PureComponent<Props, {}> {
@ -33,11 +34,12 @@ class GraphOptionsCustomizableField extends PureComponent<Props, {}> {
}
public render() {
const {internalName, displayName, visible} = this.props
const {internalName, displayName, visible, opacity} = this.props
return (
<div className="customizable-field">
<div
style={{opacity: opacity}}
className={
visible
? 'customizable-field--label'

View File

@ -208,6 +208,7 @@ export const orderTableColumns = (data, fieldNames) => {
})
})
return orderedData[0].length ? orderedData : [[]]
}
export const processTableData = (
data,