Skip to content

Commit 5f173f0

Browse files
cci(danger): remove unfinished row notice
1 parent 9f799a0 commit 5f173f0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/ui/root/DeputyContributionSurveyRow.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,11 @@ export default class DeputyContributionSurveyRow extends EventTarget implements
511511

512512
const unfinishedWithStatus = this.statusModified && !this.completed;
513513
if ( this.unfinishedMessageBox ) {
514-
this.unfinishedMessageBox.toggle( unfinishedWithStatus );
514+
this.unfinishedMessageBox.toggle(
515+
// If using danger mode, this should always be enabled.
516+
window.deputy.config.core.dangerMode.get() ||
517+
unfinishedWithStatus
518+
);
515519
}
516520
this.statusAutosaveFunction();
517521
}

0 commit comments

Comments
 (0)