Add computer settings pages and restore workspace pages

This commit is contained in:
2026-10-19 13:30:02 +01:00
parent 7667f2bc2f
commit 7b1ccfeb62
36 changed files with 1082 additions and 131 deletions
@@ -37,6 +37,17 @@ export default function settingsRecordPageMeta({
};
}
if (kind == "computers") {
const computer = props?.computer;
return {
title: `${computer?.name || "Computer"} settings | ${SiteData["SiteName"]}`,
description:
computer?.description ||
`Manage this computer on ${SiteData["SiteName"]}.`,
};
}
const person = props?.target_person;
const name =
[person?.first_name, person?.last_name].filter(Boolean).join(" ") ||