(line: WhatsOffLine)
| 198 | |
| 199 | /** The line's note on what no setting covers yet. */ |
| 200 | export const getWhatsOffGapNote = (line: WhatsOffLine): string => { |
| 201 | const gap = line.gap ? gapLabels[line.gap] : undefined; |
| 202 | const note = gap |
| 203 | ? `There's no setting for ${gap} yet.` |
| 204 | : "There's no setting for this yet."; |
| 205 | return line.kind === WhatsOffLineKind.Missing ? `${note} We noted it.` : note; |
| 206 | }; |
| 207 | |
| 208 | export const getWhatsOffSubmitExtra = ({ |
| 209 | response, |