1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-20 22:07:31 +03:00

force revision type to number for sort (#1097)

Signed-off-by: Outsider <outsideris@gmail.com>
This commit is contained in:
JeongHoon Byun (a.k.a Outsider) 2020-10-27 15:44:09 +09:00 committed by GitHub
parent 2a9d39a8b9
commit 2a3b391870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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