(workspaceId)
| 21 | } |
| 22 | |
| 23 | const hasAssignedWorkspace = (workspaceId) => { |
| 24 | if (isOpenSource || isGlobal) { |
| 25 | return true |
| 26 | } |
| 27 | const activeWorkspaceId = currentUser?.activeWorkspaceId || '' |
| 28 | if (workspaceId === activeWorkspaceId) { |
| 29 | return true |
| 30 | } |
| 31 | return false |
| 32 | } |
| 33 | |
| 34 | const hasDisplay = (display) => { |
| 35 | if (!display) { |
no outgoing calls
no test coverage detected