-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide restore column when completed #1077
Conversation
c3cd87d
to
d0c43eb
Compare
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
d0c43eb
to
dde7421
Compare
@@ -647,6 +647,10 @@ export default class VirtVm extends HarvesterResource { | |||
return null; | |||
} | |||
|
|||
get isTerminating() { | |||
return this?.metadata?.deletionTimestamp; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deletionTimestamp is string?
nit: better convert to boolean
return !!this?.metadata?.deletionTimestamp;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks.
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
@mergify backport release-harvester-v1.3 release-harvester-v1.4 |
✅ Backports have been created
|
Summary
PR Checklist
Related Issue harvester/harvester#6195
Occurred changes and/or fixed issues
Technical notes summary
Areas or cases that should be tested
Areas which could experience regressions
Screenshot/Video