Commit d90cc53d authored by Robert Knight's avatar Robert Knight Committed by Nick Stenning

Remove unused alternative delete button from <annotation> component (#3542)

Remove an alternative annotation deletion button which was part of an
older UI for annotation cards and is no longer used.
parent 32e8fcb8
......@@ -728,7 +728,7 @@ describe('annotation', function() {
});
});
describe('deleteAnnotation() method', function() {
describe('#delete()', function() {
beforeEach(function() {
fakeAnnotationMapper.deleteAnnotation = sandbox.stub();
});
......
......@@ -104,11 +104,7 @@
<!-- / Tags -->
<footer class="annotation-footer">
<div class="annotation-form-actions" ng-if="vm.editing()" ng-switch="vm.action">
<button ng-switch-when="delete"
ng-click="vm.save()"
class="dropdown-menu-btn"
aria-label="Delete" h-tooltip><i class="h-icon-check btn-icon"></i></button>
<div class="annotation-form-actions" ng-if="vm.editing()">
<publish-annotation-btn
class="publish-annotation-btn"
group="vm.group()"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment