Skip to content

Commit

Permalink
#404 Fix a JS error when importing a case template
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Feb 8, 2018
1 parent 5ffa38b commit 524b207
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ui/app/scripts/controllers/admin/AdminCaseTemplatesCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,6 @@
modalInstance.result.then(function(template) {
return self.createTemplate(template);
})
.then(function(response) {
self.getList(response.data.id);

NotificationSrv.log('The template has been successfully imported', 'success');
})
.catch(function(err) {
if (err && err.status) {
NotificationSrv.error('TemplateCtrl', err.data, err.status);
Expand Down

0 comments on commit 524b207

Please sign in to comment.