Skip to content
This repository has been archived by the owner on Aug 2, 2018. It is now read-only.

Fix official revision's pause button show condition #1786

Merged
merged 1 commit into from Feb 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion view/business-process-revision.js
Expand Up @@ -18,7 +18,8 @@ exports['sub-main'] = {
class: { content: true, 'user-forms': true },
content: function () {
var revisionStep = this.processingStep
, isPauseEnabled = and(exports._isPauseEnabled, not(revisionStep._isClosed))
, isPauseEnabled = and(exports._isPauseEnabled, or(revisionStep._isPending,
revisionStep._isPaused))
, isRevisionPending = revisionStep._isRevisionPending
, isToolbarEnabled = or(isRevisionPending, isPauseEnabled);

Expand Down