mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
force revision type to number for sort (#1097)
Signed-off-by: Outsider <outsideris@gmail.com>
This commit is contained in:
parent
2a9d39a8b9
commit
2a3b391870
@ -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() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user