design improvements

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-02-28 10:19:37 +01:00
parent ee2ccbaa98
commit 3679caf547
22 changed files with 581 additions and 349 deletions

View File

@@ -268,7 +268,7 @@ export async function getEventList({
sb.where.projectId = `project_id = '${projectId}'`;
if (profileId) {
sb.where.profileId = `profile_id = '${profileId}'`;
sb.where.deviceId = `device_id IN (SELECT device_id as did FROM openpanel.events WHERE profile_id = '${profileId}' group by did)`;
}
if (events && events.length > 0) {