force revision type to number for sort

Signed-off-by: Outsider <outsideris@gmail.com>
This commit is contained in:
Outsider committed 2020-10-18 21:12:17 +09:00
1 parent 4a15e65fea
commit 50dfb332db
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() {