Make fieldNames opaque if they are in process of moving
parent
f935478cff
commit
7e60df6b6b
|
@ -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'
|
||||
|
|
|
@ -208,6 +208,7 @@ export const orderTableColumns = (data, fieldNames) => {
|
|||
})
|
||||
})
|
||||
return orderedData[0].length ? orderedData : [[]]
|
||||
}
|
||||
|
||||
export const processTableData = (
|
||||
data,
|
||||
|
|
Loading…
Reference in New Issue