From 4a571a088e468f9d3a1e241d52994c178a844a80 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 10 Apr 2019 21:13:21 -0700 Subject: [PATCH] =?UTF-8?q?Closes=20#930=20=E2=80=93=20Don't=20allow=20lau?= =?UTF-8?q?nch=20of=20move=20dialog=20from=20drafts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scenes/Document/Document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scenes/Document/Document.js b/app/scenes/Document/Document.js index 16163fafc..ab687b8db 100644 --- a/app/scenes/Document/Document.js +++ b/app/scenes/Document/Document.js @@ -101,7 +101,7 @@ class DocumentScene extends React.Component { goToMove(ev) { ev.preventDefault(); - if (this.document && !this.document.isArchived) { + if (this.document && !this.document.isArchived && this.document.isDraft) { this.props.history.push(documentMoveUrl(this.document)); } }