Files
talk/src/core/client/stream/helpers/isInReview.ts
T
Kiwi 37959f9398 [CORL-130] Handle non-visible comment status (#2213)
* feat: support blue color in message

* feat: Show message when comment is in review

* feat: handle non-visible comment status

* test: add feature test for handling invisible comment status

* fix: apply review

* chore: better comment :-)

* Update isVisible.ts
2019-03-05 19:15:33 +01:00

6 lines
189 B
TypeScript

// TODO: use generated schema types.
const inReviewStatuses = ["PREMOD", "SYSTEM_WITHHELD"];
export default function isInReview(status: any) {
return inReviewStatuses.includes(status);
}