diff --git a/lib/gtfsplus/components/GtfsPlusEditor.js b/lib/gtfsplus/components/GtfsPlusEditor.js index 4dd0db2e1..6ade3094c 100644 --- a/lib/gtfsplus/components/GtfsPlusEditor.js +++ b/lib/gtfsplus/components/GtfsPlusEditor.js @@ -134,7 +134,7 @@ export default class GtfsPlusEditor extends Component { validation, visibleRows } = this.props - if (!feedSource) return null + if (!feedSource || !feedVersionSummary) return null const editingIsDisabled = !user.permissions || !user.permissions.hasFeedPermission( feedSource.organizationId,