mirror of
https://github.com/wassname/talk.git
synced 2026-08-08 11:28:12 +08:00
chore: rename accept comment to approve comment (#2341)
This commit is contained in:
@@ -6,5 +6,5 @@ import { GQLCOMMENT_STATUS } from "coral-server/graph/tenant/schema/__generated_
|
||||
*/
|
||||
export const VISIBLE_STATUSES = [
|
||||
GQLCOMMENT_STATUS.NONE,
|
||||
GQLCOMMENT_STATUS.ACCEPTED,
|
||||
GQLCOMMENT_STATUS.APPROVED,
|
||||
];
|
||||
|
||||
@@ -305,7 +305,7 @@ export type EditCommentInput = Pick<
|
||||
const EDITABLE_STATUSES = [
|
||||
GQLCOMMENT_STATUS.NONE,
|
||||
GQLCOMMENT_STATUS.PREMOD,
|
||||
GQLCOMMENT_STATUS.ACCEPTED,
|
||||
GQLCOMMENT_STATUS.APPROVED,
|
||||
];
|
||||
|
||||
export function validateEditable(
|
||||
|
||||
Reference in New Issue
Block a user