Skip to content

Commit

Permalink
Revert "Dev"
Browse files Browse the repository at this point in the history
  • Loading branch information
lobsam authored Aug 26, 2024
1 parent c4431c6 commit 443bb4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions static/js/VersionBlock/VersionBlock.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ class VersionBlock extends Component {
hasExtendedNotes(){
return !!(this.props.version.extendedNotes || this.props.version.extendedNotesHebrew);
}
setTextCompletionStatus(version){
if (version.iscompleted == "done") {
setTextCompletionStatus(){
if (status == "done") {
return null
} else {
return (
Expand All @@ -215,7 +215,7 @@ class VersionBlock extends Component {
this.props.currObjectVersions, this.props.openVersionInSidebar);
const openVersionInMainPanel = VersionBlockUtils.openVersionInMainPanel.bind(null, this.props.currentRef,
this.props.version, this.props.currObjectVersions, this.props.rendermode, this.props.firstSectionRef, this.props.openVersionInReader);
let textStatus = this.setTextCompletionStatus(this.props.version)
let textStatus = this.setTextCompletionStatus()

if (this.state.editing && Sefaria.is_moderator) {
// Editing View
Expand Down

0 comments on commit 443bb4f

Please sign in to comment.