Skip to content

Commit

Permalink
Remove conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
kaxcode committed Apr 22, 2021
1 parent 2d59ee4 commit d13eb1c
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@
<span>{{item.Name}}</span>
</BlockSlot>
<BlockSlot @name="details">
{{#if item.ID}}
<span>
<CopyButton
@value={{item.ID}}
@name="ID"
/>
{{item.ID}}
</span>
{{/if}}
{{#if item.LockDelay}}
<dl class="lock-delay">
<dt>
<Tooltip>
Expand All @@ -22,8 +19,6 @@
</dt>
<dd data-test-session-delay>{{item.LockDelay}}</dd>
</dl>
{{/if}}
{{#if item.TTL}}
<dl class="ttl">
<dt>
<Tooltip>
Expand All @@ -32,8 +27,6 @@
</dt>
<dd data-test-session-ttl={{item.TTL}}>{{item.TTL}}</dd>
</dl>
{{/if}}
{{#if item.Behavior}}
<dl class="behavior">
<dt>
<Tooltip>
Expand All @@ -42,8 +35,6 @@
</dt>
<dd>{{item.Behavior}}</dd>
</dl>
{{/if}}
{{#if (gt item.Checks.length 0)}}
<dl class="checks">
<dt>
<Tooltip>
Expand All @@ -56,7 +47,6 @@
{{/each}}
</dd>
</dl>
{{/if}}
</BlockSlot>
{{#if (can "delete sessions")}}
<BlockSlot @name="actions">
Expand Down

0 comments on commit d13eb1c

Please sign in to comment.