Skip to content

Commit bb5fc36

Browse files
committed
crate-sidebar: Fix deprecations
This fixes deprecations: - Do not use A() on an EmberData PromiseManyArray
1 parent 6db04e3 commit bb5fc36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/crate-sidebar.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
</div>
9595

9696
{{#unless @crate.categories.isPending}}
97-
{{#if @crate.categories}}
97+
{{#if @crate.categories.length}}
9898
<div>
9999
<h2 local-class="heading">Categories</h2>
100100
<ul local-class="categories">

0 commit comments

Comments
 (0)