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.REASONHARASSMENTOTHER,
|
||||||
OzoneReportDefs.REASONMISLEADINGOTHER,
|
OzoneReportDefs.REASONMISLEADINGOTHER,
|
||||||
OzoneReportDefs.REASONRULEOTHER,
|
OzoneReportDefs.REASONRULEOTHER,
|
||||||
|
OzoneReportDefs.REASONSELFHARMOTHER,
|
||||||
|
OzoneReportDefs.REASONOTHER,
|
||||||
])
|
])
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ export type ReportCategoryConfig = {
|
|||||||
title: string
|
title: string
|
||||||
description: string
|
description: string
|
||||||
options: ReportOption[]
|
options: ReportOption[]
|
||||||
isOther?: boolean
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type ReportOption = {
|
export type ReportOption = {
|
||||||
@@ -246,7 +245,6 @@ export function useReportOptions() {
|
|||||||
reason: OzoneReportDefs.REASONOTHER,
|
reason: OzoneReportDefs.REASONOTHER,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
isOther: true,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user