mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 06:47:07 +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 () {
|
async function groups () {
|
||||||
const projects = await db.project.get();
|
const projects = await db.project.get({timestamps: true});
|
||||||
const groupNames = [
|
const groupNames = [
|
||||||
...projects
|
...projects
|
||||||
.reduce( (acc, cur) => acc.add(...cur.groups), new Set() )
|
.reduce( (acc, cur) => acc.add(...cur.groups), new Set() )
|
||||||
|
|||||||
Reference in New Issue
Block a user