mirror of
https://github.com/wassname/talk.git
synced 2026-08-05 13:30:26 +08:00
Merge branch 'next' into fix-scrollbars
This commit is contained in:
@@ -22,7 +22,7 @@ function getUserFlaggedType(actions) {
|
||||
}
|
||||
|
||||
function hasSuspectedWords(actions) {
|
||||
return actions.some((action) => action.__typename === 'FlagAction' && action.reason === 'Matched suspect word filter');
|
||||
return actions.some((action) => action.__typename === 'FlagAction' && action.reason === 'SUSPECT_WORD');
|
||||
}
|
||||
|
||||
function hasHistoryFlag(actions) {
|
||||
|
||||
@@ -35,6 +35,9 @@ export default withFragments({
|
||||
editing {
|
||||
edited
|
||||
}
|
||||
status_history {
|
||||
type
|
||||
}
|
||||
...${getDefinitionName(CommentLabels.fragments.comment)}
|
||||
...${getDefinitionName(CommentDetails.fragments.comment)}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user