Skip to content

Commit 7390b6b

Browse files
fix(GtfsPlusEditor): Skip rendering if feed version summary is not fetched.
1 parent 67dea2e commit 7390b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gtfsplus/components/GtfsPlusEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default class GtfsPlusEditor extends Component<Props> {
134134
validation,
135135
visibleRows
136136
} = this.props
137-
if (!feedSource) return null
137+
if (!feedSource || !feedVersionSummary) return null
138138
const editingIsDisabled = !user.permissions ||
139139
!user.permissions.hasFeedPermission(
140140
feedSource.organizationId,

0 commit comments

Comments
 (0)