File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import classMix from '../../util/classMix';
2626import dangerModeConfirm from '../../util/dangerModeConfirm' ;
2727import normalizeWikiHeading , { WikiHeading } from '../../wiki/util/normalizeWikiHeading' ;
2828import parseDiffUrl from '../../wiki/util/parseDiffUrl' ;
29+ import { ContributionSurveyRowStatus } from '../../models/ContributionSurveyRowStatus' ;
2930
3031/**
3132 * The contribution survey section UI element. This includes a list of revisions
@@ -846,6 +847,10 @@ export default class DeputyContributionSurveySection implements DeputyUIElement
846847 title : mw . msg ( 'deputy.session.section.instantArchive.title' )
847848 } ) ;
848849 instantArchiveButton . on ( 'click' , ( ) => {
850+ this . rows . forEach ( v =>
851+ // Just completely wipe it
852+ v . revisions = [ ]
853+ ) ;
849854 this . closingCheckbox . setSelected ( true ) ;
850855 this . saveButton . emit ( 'click' ) ;
851856 } ) ;
You can’t perform that action at this time.
0 commit comments