From c241f7fb25dc18d6437ca6ef89aadcdbec417273 Mon Sep 17 00:00:00 2001 From: Leonard Smith Date: Tue, 4 May 2021 12:01:59 -0500 Subject: [PATCH] Add a space between number and book name in the menu bar --- app/components/book.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/book.js b/app/components/book.js index c2952f2..c11eb6b 100644 --- a/app/components/book.js +++ b/app/components/book.js @@ -8,7 +8,7 @@ export default class BookComponent extends Component { get bookTitle() { let string = this.args.book.name.toLowerCase(); if (this.isNumber(string.charAt(0))) { - return string.slice(0,1) + string.charAt(2).toUpperCase() + string.slice(3); + return string.slice(0,1) + ' ' + string.charAt(2).toUpperCase() + string.slice(3); } else { return string.charAt(0).toUpperCase() + string.slice(1); }