1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

force revision type to number for sort

Signed-off-by: Outsider <outsideris@gmail.com>
This commit is contained in:
Outsider 2020-10-18 21:12:17 +09:00
parent 4a15e65fea
commit 50dfb332db
No known key found for this signature in database
GPG Key ID: E0B48683131EA9B1

View File

@ -141,7 +141,7 @@ export class HelmRelease implements ItemObject {
chart: string chart: string
status: string status: string
updated: string updated: string
revision: number revision: string
getId() { getId() {
return this.namespace + this.name; return this.namespace + this.name;
@ -165,7 +165,7 @@ export class HelmRelease implements ItemObject {
} }
getRevision() { getRevision() {
return this.revision; return parseInt(this.revision, 10);
} }
getStatus() { getStatus() {