Skip to content

Commit

Permalink
hide mark as complete button on already-completed content
Browse files Browse the repository at this point in the history
  • Loading branch information
nucleogenesis committed Nov 4, 2022
1 parent 332ca80 commit af9c609
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
dataTest: this.isBookmarked ? 'removeBookmarkButton' : 'addBookmarkButton',
});
}
if (this.allowMarkComplete) {
if (this.allowMarkComplete && this.contentProgress < 1) {
actions.push({
id: 'mark-complete',
icon: 'star',
Expand Down

0 comments on commit af9c609

Please sign in to comment.