indicate that secret version is deleted even when it is the current version (#7714)
This commit is contained in:
parent
20b8f8d7d0
commit
c87ec96b8e
|
@ -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" />
|
||||||
|
|
Loading…
Reference in a new issue