Compare commits
No commits in common. "97cf9ce0f7c9046ee410b80b06d2b2cc611a39d8" and "7343f993eee5836a483c0a76da73daec5e29ee61" have entirely different histories.
97cf9ce0f7
...
7343f993ee
3 changed files with 3 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ export default async function ListPage({
|
|||
|
||||
// Fetch subtasks for all parent tasks
|
||||
const parentIds = tasks.map((t) => t.id);
|
||||
const subtasksMap: Record<string, Task[]> = {};
|
||||
let subtasksMap: Record<string, Task[]> = {};
|
||||
|
||||
if (parentIds.length > 0) {
|
||||
const allSubtasks = await db
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ export async function GET(
|
|||
}
|
||||
|
||||
// Build query
|
||||
const query = db
|
||||
let query = db
|
||||
.select()
|
||||
.from(slTasks)
|
||||
.where(and(...conditions));
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
import { ThemeToggle } from "./ThemeToggle";
|
||||
import { User, LogOut } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue