Skip to content

Commit

Permalink
Merge pull request #12335 from m-ildefons/rancher/wip/fix-cc-expiry-0
Browse files Browse the repository at this point in the history
Fix cloud-credential expiry display
  • Loading branch information
richard-cox authored Oct 24, 2024
2 parents f84ac9e + 22ce9f9 commit bbbe926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/models/cloudcredential.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export default class CloudCredential extends NormanModel {
}

get expiresIn() {
if (!this.expires) {
if (this.expires === undefined) {
return null;
}

Expand Down

0 comments on commit bbbe926

Please sign in to comment.