Shakeout Part 2 (#630)
* When flattening directories, ensure the order or directories being enumerated follows a natural sort. Some users are discovering directories in a different order than other machines. * Added a case for volume parsing and fixed a poorly designed negative lookahead. Added a sentence case pipe for formatting things. Added time for all dates. * Some more sentence case * Register user now has a white input * Fixed an issue with Manga up/down reading mode where top of the page was going forwards, when it should have gone backwards * Reworked some code to ensure that scanseries doesn't show errors where in fact there was just nothing to update. * Last updated should be working as intended for new library flow. * Code smell
This commit is contained in:
parent
fcfc9e5159
commit
3907414ae4
20 changed files with 88 additions and 37 deletions
14
UI/Web/src/app/shared/sentence-case.pipe.ts
Normal file
14
UI/Web/src/app/shared/sentence-case.pipe.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { Pipe, PipeTransform } from '@angular/core';
|
||||
|
||||
@Pipe({
|
||||
name: 'sentenceCase'
|
||||
})
|
||||
export class SentenceCasePipe implements PipeTransform {
|
||||
|
||||
transform(value: string | null): string {
|
||||
if (value === null || value === undefined) return '';
|
||||
|
||||
return value.charAt(0).toUpperCase() + value.substr(1);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue