mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-05 03:31:04 +01:00
fix(articles): delete button not required in create new article
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
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user