Skip to content

Commit

Permalink
fix: not necessary to check for undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
johnny243 committed Aug 14, 2020
1 parent 07bbd0e commit 39f3fb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/directives/views/historyMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ class HistoryMenuCtrl extends PureViewCtrl<{}, HistoryState> implements HistoryS
return;
}
this.application.presentRevisionPreviewModal(
remoteRevision!.payload.uuid,
remoteRevision!.payload.content
remoteRevision.payload.uuid,
remoteRevision.payload.content
);
}

Expand Down

0 comments on commit 39f3fb9

Please sign in to comment.