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

View file

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