Skip to content

Commit

Permalink
cci(danger): remove unfinished row notice
Browse files Browse the repository at this point in the history
  • Loading branch information
ChlodAlejandro committed Mar 21, 2024
1 parent 9f799a0 commit 5f173f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ui/root/DeputyContributionSurveyRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,11 @@ export default class DeputyContributionSurveyRow extends EventTarget implements

const unfinishedWithStatus = this.statusModified && !this.completed;
if ( this.unfinishedMessageBox ) {
this.unfinishedMessageBox.toggle( unfinishedWithStatus );
this.unfinishedMessageBox.toggle(
// If using danger mode, this should always be enabled.
window.deputy.config.core.dangerMode.get() ||
unfinishedWithStatus
);
}
this.statusAutosaveFunction();
}
Expand Down

0 comments on commit 5f173f0

Please sign in to comment.