indicate that secret version is deleted even when it is the current version (#7714)

This commit is contained in:
Noelle Daley 2019-10-24 11:35:25 -07:00 committed by GitHub
parent 20b8f8d7d0
commit c87ec96b8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@
<li class="action">
<LinkTo class="link" @params={{array (query-params version=secretVersion.version)}} @invokeAction={{action D.actions.close}} >
Version {{secretVersion.version}}
{{#if (eq secretVersion.version this.model.currentVersion)}}
{{#if (and (eq secretVersion.version this.model.currentVersion) (not secretVersion.deleted))}}
<Icon @glyph="check-circle-outline" class="has-text-success is-pulled-right" />
{{else if secretVersion.deleted}}
<Icon @glyph="cancel-square-outline" class="has-text-grey is-pulled-right" />