Commit c8df2c5f authored by Connor Shea's avatar Connor Shea

Add return statements for if statements that were missing them.

parent 1d3aa59f
...@@ -31,6 +31,8 @@ ...@@ -31,6 +31,8 @@
note: function () { note: function () {
if (this.discussion) { if (this.discussion) {
return this.discussion.getNote(this.noteId); return this.discussion.getNote(this.noteId);
} else {
return undefined;
} }
}, },
buttonText: function () { buttonText: function () {
...@@ -43,6 +45,8 @@ ...@@ -43,6 +45,8 @@
isResolved: function () { isResolved: function () {
if (this.note) { if (this.note) {
return this.note.resolved; return this.note.resolved;
} else {
return false;
} }
}, },
resolvedByName: function () { resolvedByName: function () {
......
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