mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-11 08:04:17 -08:00
Feat: Make the expiry days sorted
This commit is contained in:
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…
Reference in a new issue