Custom maintenance messages support (#9417)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-07-01 18:35:10 +07:00
committed by GitHub
parent e617ffd15d
commit 6038cdbc04
18 changed files with 78 additions and 37 deletions
+2 -1
View File
@@ -112,7 +112,8 @@ export default async () => {
if (event.event === WorkspaceEvent.MaintenanceNotification) {
void setPlatformStatus(
new Status(Severity.WARNING, platform.status.MaintenanceWarning, {
time: event.params.timeMinutes
time: event.params.timeMinutes,
message: event.params.message ?? ''
})
)
}