Update Modal.tsx
This commit is contained in:
parent
a3786ee5cd
commit
86d036cca8
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue