Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
518291f518
commit
17a5b5eff5
@@ -104,6 +104,7 @@ function CollectionDetailRoute() {
|
||||
const [loading, setLoading] = useState(true);
|
||||
const [escalating, setEscalating] = useState(false);
|
||||
const [addTaskOpen, setAddTaskOpen] = useState(false);
|
||||
const [applyWfOpen, setApplyWfOpen] = useState(false);
|
||||
const [reload, setReload] = useState(0);
|
||||
const [invoiceOpen, setInvoiceOpen] = useState(false);
|
||||
|
||||
@@ -400,9 +401,14 @@ function CollectionDetailRoute() {
|
||||
</Badge>
|
||||
)}
|
||||
</h3>
|
||||
<Button size="sm" variant="outline" onClick={() => setAddTaskOpen(true)}>
|
||||
<Plus className="h-3.5 w-3.5 mr-1" /> Add task
|
||||
</Button>
|
||||
<div className="flex items-center gap-2">
|
||||
<Button size="sm" variant="outline" onClick={() => setApplyWfOpen(true)}>
|
||||
<Workflow className="h-3.5 w-3.5 mr-1" /> Apply workflow
|
||||
</Button>
|
||||
<Button size="sm" variant="outline" onClick={() => setAddTaskOpen(true)}>
|
||||
<Plus className="h-3.5 w-3.5 mr-1" /> Add task
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
{tasks.length === 0 ? (
|
||||
<p className="text-sm text-muted-foreground italic py-4">
|
||||
|
||||
Reference in New Issue
Block a user