mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 09:17:08 +00:00
Return project timestamps
This commit is contained in:
@@ -36,8 +36,16 @@ async function fetchErrors (pid) {
|
||||
}
|
||||
|
||||
|
||||
async function groupTimestamps (groupName) {
|
||||
const projects = await groups()?.[groupName];
|
||||
if (projects?.length) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
async function groups () {
|
||||
const projects = await db.project.get();
|
||||
const projects = await db.project.get({timestamps: true});
|
||||
const groupNames = [
|
||||
...projects
|
||||
.reduce( (acc, cur) => acc.add(...cur.groups), new Set() )
|
||||
|
||||
Reference in New Issue
Block a user