Fix isChat to also check taskTypeName for 'chat'
This commit is contained in:
parent
445ec768b4
commit
8d604649a2
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ struct WorkTask: Identifiable {
|
|||
}
|
||||
|
||||
/// Chat or Call Team Member tasks - both involve customer interaction
|
||||
var isChat: Bool { taskTypeId == 2 || taskTypeId == 6 }
|
||||
var isChat: Bool { taskTypeId == 2 || taskTypeId == 6 || taskTypeName.lowercased().contains("chat") }
|
||||
var isCash: Bool { taskTypeName.lowercased().contains("cash") }
|
||||
|
||||
// MARK: - Flexible parsing helpers
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue