refactor: refactor updates page to get rid of ionic (#2459)

This commit is contained in:
Alex Inkin
2023-10-16 07:31:34 +04:00
committed by GitHub
parent df7a30bd14
commit 8034e5bbcb
31 changed files with 550 additions and 38 deletions

View File

@@ -7,7 +7,7 @@ import * as emver from '@start9labs/emver'
export class Emver {
constructor() {}
compare(lhs: string, rhs: string): number | null {
compare(lhs?: string, rhs?: string): number | null {
if (!lhs || !rhs) return null
return emver.compare(lhs, rhs)
}