mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
Feat: Make the expiry days sorted
This commit is contained in:
parent
46ee149b70
commit
cfa5b551a5
1 changed files with 1 additions and 0 deletions
|
@ -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