diff options
Diffstat (limited to 'src/content/dependencies/generateArtistInfoPageFlashesChunkedList.js')
-rw-r--r-- | src/content/dependencies/generateArtistInfoPageFlashesChunkedList.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageFlashesChunkedList.js b/src/content/dependencies/generateArtistInfoPageFlashesChunkedList.js index 392b2782..799e8509 100644 --- a/src/content/dependencies/generateArtistInfoPageFlashesChunkedList.js +++ b/src/content/dependencies/generateArtistInfoPageFlashesChunkedList.js @@ -71,7 +71,7 @@ export default { query.chunks.map(({chunk}) => chunk[0].flash.date ?? null), lastDates: - query.chunks.map(({chunk}) => chunk[chunk.length - 1].flash.date ?? null), + query.chunks.map(({chunk}) => chunk.at(-1).flash.date ?? null), itemContributions: query.chunks.map(({chunk}) => |