Skip to content

Commit

Permalink
#1804 Fix wrong clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Mar 17, 2021
1 parent fa79c88 commit cc772af
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,20 @@
self.filtering.setSort(sort);
};

this.newTemplate = function() {
self.showTemplate({
name: '',
titlePrefix: '',
severity: 2,
tlp: 2,
pap: 2,
tags: [],
tasks: [],
customFields: {},
description: ''
});
};

this.showTemplate = function(template) {

var promise = template._id ? CaseTemplateSrv.get(template._id) : $q.resolve(template);
Expand Down

0 comments on commit cc772af

Please sign in to comment.