mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
Fix #2516
This commit is contained in:
parent
7b0093b8b3
commit
0cead83705
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ class StatusPage extends BeanModel {
|
||||||
|
|
||||||
let activeCondition = Maintenance.getActiveMaintenanceSQLCondition();
|
let activeCondition = Maintenance.getActiveMaintenanceSQLCondition();
|
||||||
let maintenanceBeanList = R.convertToBeans("maintenance", await R.getAll(`
|
let maintenanceBeanList = R.convertToBeans("maintenance", await R.getAll(`
|
||||||
SELECT maintenance.*
|
SELECT DISTINCT maintenance.*
|
||||||
FROM maintenance
|
FROM maintenance
|
||||||
JOIN maintenance_status_page
|
JOIN maintenance_status_page
|
||||||
ON maintenance_status_page.maintenance_id = maintenance.id
|
ON maintenance_status_page.maintenance_id = maintenance.id
|
||||||
|
|
Loading…
Reference in a new issue