Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit f0fbcb6

Browse files
tejas002lirantal
authored andcommitted
fix(articles): Updated warning message condition (#1944)
It will display warning message only when there is no article present.
1 parent 66a8d24 commit f0fbcb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/articles/client/views/admin/list-articles.client.view.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h4 class="list-group-item-heading" data-ng-bind="article.title"></h4>
2020
<p class="list-group-item-text" data-ng-bind="article.content"></p>
2121
</a>
2222
</div>
23-
<div class="alert alert-warning text-center" data-ng-if="vm.articles.$resolved && !articles.length">
23+
<div class="alert alert-warning text-center" data-ng-if="vm.articles.$resolved && !vm.articles.length">
2424
No articles yet, why don't you <a data-ui-sref="admin.articles.create">create one</a>?
2525
</div>
2626
</section>

0 commit comments

Comments
 (0)