Skip to content

Commit

Permalink
fix(GtfsPlusEditor): Skip rendering if feed version summary is not fe…
Browse files Browse the repository at this point in the history
…tched.
  • Loading branch information
binh-dam-ibigroup committed May 2, 2022
1 parent 67dea2e commit 7390b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gtfsplus/components/GtfsPlusEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default class GtfsPlusEditor extends Component<Props> {
validation,
visibleRows
} = this.props
if (!feedSource) return null
if (!feedSource || !feedVersionSummary) return null
const editingIsDisabled = !user.permissions ||
!user.permissions.hasFeedPermission(
feedSource.organizationId,
Expand Down

0 comments on commit 7390b6b

Please # to comment.