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) authored and GitHub committed 2020-10-27 09:44:09 +03:00
1 parent 2a9d39a8b9
commit 2a3b391870
1 file changed
+2 -2
@@ -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() {