Skip to content

Commit 0a43db2

Browse files
Merge branch 'mtc-deploy' into mtc-deploy-with-dev
2 parents c1d556f + 0f5301d commit 0a43db2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

lib/gtfsplus/components/GtfsPlusEditor.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,19 @@ export default class GtfsPlusEditor extends Component<Props> {
130130
zip.generateAsync({type: 'blob'})
131131
.then(content => uploadGtfsPlusFeed(feedVersionId, content))
132132
.then(() => downloadGtfsPlusFeed(feedVersionId))
133+
.then(() => {
134+
if (this.refs.page && typeof this.refs.page.showInfoModal === 'function') {
135+
this.refs.page.showInfoModal({
136+
title: 'GTFS+ Save Complete',
137+
body: (
138+
<div>
139+
<p>Your GTFS+ changes have been saved and revalidated.</p>
140+
<strong>Reminder:</strong> To make GTFS+ data available, click <b>Publish new version</b> on the feed version page.
141+
</div>
142+
)
143+
})
144+
}
145+
})
133146
}
134147

135148
_getGtfsEntity = (type: string, id: string) => this.props.gtfsEntityLookup[`${type}_${id}`]

0 commit comments

Comments
 (0)