fix(worker_row): correct condition for displaying cancel button

This commit is contained in:
Achintha Isuru
2026-03-19 00:19:18 -04:00
parent 8bb336d1b5
commit af1ff53749

View File

@@ -190,7 +190,7 @@ class WorkerRow extends StatelessWidget {
leadingIcon: UiIcons.star,
),
),
if (!showCancelButton && onCancel != null)
if (showCancelButton && onCancel != null)
GestureDetector(
onTap: onCancel,
child: UiChip(