Skip to content

Commit

Permalink
CB-4457 remove extra check
Browse files Browse the repository at this point in the history
  • Loading branch information
devnaumov committed Feb 12, 2024
1 parent 44e940d commit 78cbc6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class DocumentDataAction extends DatabaseDataResultAction<IDocumentElemen
static dataFormat = [ResultDataFormat.Document];

get documents(): IDatabaseDataDocument[] {
return this.result.data?.rowsWithMetaData?.map(row => row.data?.[0]) || [];
return this.result.data?.rowsWithMetaData?.map(row => row.data[0]) || [];
}

get count(): number {
Expand Down

0 comments on commit 78cbc6d

Please sign in to comment.