(view: FooterView)
| 229 | } |
| 230 | |
| 231 | export function blockerStatus(view: FooterView) { |
| 232 | if (view.type === "permission") { |
| 233 | return "awaiting permission" |
| 234 | } |
| 235 | |
| 236 | if (view.type === "question") { |
| 237 | return "awaiting answer" |
| 238 | } |
| 239 | |
| 240 | return "" |
| 241 | } |
| 242 | |
| 243 | function pickSessionView(data: SessionData): FooterView { |
| 244 | return pickBlockerView({ |
no outgoing calls
no test coverage detected