User:Chlod/Scripts/Deputy.js: Difference between revisions

Content deleted Content added
(bot/CD)
(bot/CD)
Line 351:
 
var version = "0.7.0";
var gitAbbrevHash = "9f799a016bb53a";
var gitBranch = "main";
var gitDate = "WedFri, 2022 Mar 2024 1703:0629:2321 +0800";
var gitVersion = "0.7.0+g9f799a0g16bb53a";
 
/**
Line 3,314:
const unfinishedWithStatus = this.statusModified && !this.completed;
if (this.unfinishedMessageBox) {
this.unfinishedMessageBox.toggle(unfinishedWithStatus);
// If using danger mode, this should always be enabled.
window.deputy.config.core.dangerMode.get() ||
unfinishedWithStatus);
}
this.statusAutosaveFunction();
Line 3,358 ⟶ 3,361:
*/
markAllAsFinished() {
if (!this.revisions) {
// If `renderUnfinished` was never called, this will be undefined.
// We want to skip over instead.
return;
}
this.revisions.forEach((revision) => {
revision.completed = true;