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

Commit

Permalink
fix(articles): delete button not required in create new article
Browse files Browse the repository at this point in the history
feat (articles): For New Article, delete button not required. if try to delete New Article that is not persisted to database than it create server error
  • Loading branch information
lirantal authored Sep 16, 2016
2 parents 8b54669 + 7ffbd3f commit 7e0b3d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h1>{{vm.article._id ? 'Edit Article' : 'New Article'}}</h1>
</div>
<div class="pull-right">
<a class="btn btn-primary" ng-click="vm.remove()">
<a ng-show="vm.article._id" class="btn btn-primary" ng-click="vm.remove()">
<i class="glyphicon glyphicon-trash"></i>
</a>
</div>
Expand Down

0 comments on commit 7e0b3d3

Please sign in to comment.