aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/home.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/views/home.js')
-rw-r--r--www/js/views/home.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/views/home.js b/www/js/views/home.js
index 05ee2f7..d82b874 100644
--- a/www/js/views/home.js
+++ b/www/js/views/home.js
@@ -31,7 +31,7 @@
this.navigate( 'login' );
} else if ( FMS.currentDraft && (
FMS.currentDraft.get('title') || FMS.currentDraft.get('lat') ||
- FMS.currentDraft.get('details') || FMS.currentDraft.get('file') )
+ FMS.currentDraft.get('details') || FMS.currentDraft.get('files').length > 0 )
) {
this.navigate( 'existing' );
} else {