This commit is contained in:
Louis Lam 2023-01-03 14:50:29 +08:00
parent 7b0093b8b3
commit 0cead83705

View file

@ -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