feat: add task buttons to Kanban headers (#863)
* wip: add task * add handler * i18n * add button styles --------- Co-authored-by: Louis Knight-Webb <louis@bloop.ai>
This commit is contained in:
committed by
GitHub
parent
e3727e249d
commit
dd877eaa51
@@ -61,6 +61,7 @@ export function ProjectTasks() {
|
||||
|
||||
const [project, setProject] = useState<Project | null>(null);
|
||||
const [error, setError] = useState<string | null>(null);
|
||||
|
||||
// Helper functions to open task forms
|
||||
const handleCreateTask = () => {
|
||||
if (project?.id) {
|
||||
@@ -540,6 +541,7 @@ export function ProjectTasks() {
|
||||
onDuplicateTask={handleDuplicateTaskCallback}
|
||||
onViewTaskDetails={handleViewTaskDetails}
|
||||
selectedTask={selectedTask || undefined}
|
||||
onCreateTask={handleCreateNewTask}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user