Add a space between number and book name in the menu bar

This commit is contained in:
Leonard Smith 2021-05-04 12:01:59 -05:00
parent e661b75e80
commit c241f7fb25
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}