From 7390b6b34e5f1b1584bdefb71f64f1de7f245962 Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Mon, 2 May 2022 15:33:39 -0400 Subject: [PATCH] fix(GtfsPlusEditor): Skip rendering if feed version summary is not fetched. --- lib/gtfsplus/components/GtfsPlusEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,