Feat: Make the expiry days sorted

pull/1641/head
Nelson Chan 3 years ago
parent 46ee149b70
commit cfa5b551a5

@ -83,6 +83,7 @@ export default {
if (parsedDay != null && !isNaN(parsedDay) && parsedDay > 0) {
if (!this.settings.tlsExpiryNotifyDays.includes(parsedDay)) {
this.settings.tlsExpiryNotifyDays.push(parseInt(day));
this.settings.tlsExpiryNotifyDays.sort((a, b) => a - b);
this.expiryNotifInput = null;
}
}

Loading…
Cancel
Save