Skip to content

Commit ce9fa03

Browse files
Automatically built.
commit 9d7c230 Author: Josh Lory <josh.lory@code.org> Date: Thu Oct 1 16:36:39 2015 -0700 Fix isOwner check for project save
1 parent 9d7c230 commit ce9fa03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dashboard/public/shared-package/js/shared.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ var projects = module.exports = {
847847
save: function(sourceAndHtml, callback, forceNewVersion) {
848848

849849
// Can't save a project if we're not the owner.
850-
if (current && !current.isOwner) {
850+
if (current.isOwner === false) {
851851
return;
852852
}
853853

0 commit comments

Comments
 (0)