[Bug fix] Can't modify a custom filter without label (#59296) (#59324)

* Show filter value if nothing else is available for label value

* Add label max width

* Revert "Add label max width"

This reverts commit 9537968110.
This commit is contained in:
Liza Katz 2020-03-04 18:12:31 +00:00 committed by GitHub
parent 609e996a56
commit 862a42fad7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ export function FilterLabel({ filter, valueLabel }: Props) {
return (
<Fragment>
{prefix}
{JSON.stringify(filter.query)}
{JSON.stringify(filter.query) || filter.meta.value}
</Fragment>
);
}