Skip to content

Commit

Permalink
Merge branch 'master' into uipqb-85
Browse files Browse the repository at this point in the history
  • Loading branch information
ncovercash authored Feb 22, 2024
2 parents c916ab5 + b7b5ad4 commit b4280e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* [UIPQB-54](https://issues.folio.org/browse/UIPQB-54) Add support for array fields in query results.
* [UIPQB-70](https://issues.folio.org/browse/UIPQB-70) Array fields support verification.
* [UIPQB-80](https://issues.folio.org/browse/UIPQB-80) Add operators for NumberType and adjust operators for IntegerType.
* [UIPQB-73](https://folio-org.atlassian.net/browse/UIPQB-73) Result Viewer shows current date if date column is not present.

## [1.0.0](https://github.com/folio-org/ui-plugin-query-builder/tree/v1.0.0) (2023-10-12)

Expand Down
2 changes: 1 addition & 1 deletion src/QueryBuilder/ResultViewer/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const getTableMetadata = (entityType) => {

formatted[value] = (item) => {
if (dataType === DATA_TYPES.DateType) {
return <FormattedDate value={item[value]} />;
return item[value] ? <FormattedDate value={item[value]} /> : '';
} else if (dataType === DATA_TYPES.ArrayType) {
return item[value]?.join(' | ');
} else {
Expand Down

0 comments on commit b4280e3

Please sign in to comment.