From 93de8596f27d84eafb685e7b59a0dc1f77596902 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Wed, 19 Oct 2016 12:36:40 -0400 Subject: [PATCH] fix #154 --- client/components/Nav.js | 2 +- client/modules/IDE/actions/project.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/Nav.js b/client/components/Nav.js index 03fdf57c..0a17fcb3 100644 --- a/client/components/Nav.js +++ b/client/components/Nav.js @@ -19,7 +19,7 @@ function Nav(props) {
  • props.saveProject()} > Save diff --git a/client/modules/IDE/actions/project.js b/client/modules/IDE/actions/project.js index 96cc2099..dfd4fddc 100644 --- a/client/modules/IDE/actions/project.js +++ b/client/modules/IDE/actions/project.js @@ -49,7 +49,7 @@ export function setProjectName(name) { }; } -export function saveProject(autosave) { +export function saveProject(autosave = false) { return (dispatch, getState) => { const state = getState(); if (state.user.id && state.project.owner && state.project.owner.id !== state.user.id) {