From 7dccee9407ae30529c18d4117b65b9a81cd5ca67 Mon Sep 17 00:00:00 2001 From: chme Date: Sun, 11 Oct 2020 08:48:00 +0200 Subject: [PATCH] [web-src] Fix index link for unavailable release year --- web-src/src/lib/Albums.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-src/src/lib/Albums.js b/web-src/src/lib/Albums.js index 47a4346d..a0b38c4b 100644 --- a/web-src/src/lib/Albums.js +++ b/web-src/src/lib/Albums.js @@ -20,7 +20,7 @@ export default class Albums { if (this.options.sort === 'Recently added') { return album.time_added.substring(0, 4) } else if (this.options.sort === 'Recently released') { - return album.date_released ? album.date_released.substring(0, 4) : 'n/a' + return album.date_released ? album.date_released.substring(0, 4) : '0000' } return album.name_sort.charAt(0).toUpperCase() }