Update Modal.tsx
parent
a3786ee5cd
commit
86d036cca8
|
@ -131,7 +131,9 @@ export function Component(content: ReportComponentProps) {
|
||||||
const getCollectionNameForReport = (atUri: AtUri | null) => {
|
const getCollectionNameForReport = (atUri: AtUri | null) => {
|
||||||
if (!atUri) return <Trans>Account</Trans>
|
if (!atUri) return <Trans>Account</Trans>
|
||||||
// Generic fallback for any collection being reported
|
// Generic fallback for any collection being reported
|
||||||
return CollectionNames[atUri.collection as CollectionId] || <Trans>Content</Trans>
|
return (
|
||||||
|
CollectionNames[atUri.collection as CollectionId] || <Trans>Content</Trans>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const SelectIssue = ({
|
const SelectIssue = ({
|
||||||
|
|
Loading…
Reference in New Issue