Skip to content

Commit

Permalink
Merge pull request #30 from kadirahq/protected-comments
Browse files Browse the repository at this point in the history
Set the protected field to true
  • Loading branch information
arunoda committed Oct 12, 2016
2 parents bba5ece + 1d2d8a9 commit eba722d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/manager/containers/CommentsPanel/dataStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export default class DataStore {
const doc = {
...comment,
...this.currentStory,
sbProtected: true,
};

return this.db.getCollection('comments').set(doc);
Expand Down

0 comments on commit eba722d

Please sign in to comment.