Finish 'other' handling
This commit is contained in:
@@ -96,6 +96,8 @@ export const OTHER_REPORT_REASONS: Set<OzoneReportDefs.ReasonType> = new Set([
|
||||
OzoneReportDefs.REASONHARASSMENTOTHER,
|
||||
OzoneReportDefs.REASONMISLEADINGOTHER,
|
||||
OzoneReportDefs.REASONRULEOTHER,
|
||||
OzoneReportDefs.REASONSELFHARMOTHER,
|
||||
OzoneReportDefs.REASONOTHER,
|
||||
])
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,7 +18,6 @@ export type ReportCategoryConfig = {
|
||||
title: string
|
||||
description: string
|
||||
options: ReportOption[]
|
||||
isOther?: boolean
|
||||
}
|
||||
|
||||
export type ReportOption = {
|
||||
@@ -246,7 +245,6 @@ export function useReportOptions() {
|
||||
reason: OzoneReportDefs.REASONOTHER,
|
||||
},
|
||||
],
|
||||
isOther: true,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user