mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Helm rollback window with more details (#2085)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
This commit is contained in:
parent
19c0e73760
commit
b36d9ff418
@ -57,6 +57,7 @@ export interface IReleaseRevision {
|
|||||||
updated: string;
|
updated: string;
|
||||||
status: string;
|
status: string;
|
||||||
chart: string;
|
chart: string;
|
||||||
|
app_version: string;
|
||||||
description: string;
|
description: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -77,7 +77,8 @@ export class ReleaseRollbackDialog extends React.Component<Props> {
|
|||||||
themeName="light"
|
themeName="light"
|
||||||
value={revision}
|
value={revision}
|
||||||
options={revisions}
|
options={revisions}
|
||||||
formatOptionLabel={({ value }: SelectOption<IReleaseRevision>) => `${value.revision} - ${value.chart}`}
|
formatOptionLabel={({ value }: SelectOption<IReleaseRevision>) => `${value.revision} - ${value.chart}
|
||||||
|
- ${value.app_version}, updated: ${new Date(value.updated).toLocaleString()}`}
|
||||||
onChange={({ value }: SelectOption<IReleaseRevision>) => this.revision = value}
|
onChange={({ value }: SelectOption<IReleaseRevision>) => this.revision = value}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user