diff --git a/client/src/components/LibraryFolder/TopToolbar/import-to-history/import-collection.js b/client/src/components/LibraryFolder/TopToolbar/import-to-history/import-collection.js index 30aaa0b1fec..b1325b50c9c 100644 --- a/client/src/components/LibraryFolder/TopToolbar/import-to-history/import-collection.js +++ b/client/src/components/LibraryFolder/TopToolbar/import-to-history/import-collection.js @@ -36,6 +36,7 @@ var ImportCollectionModal = Backbone.View.extend({ }, async createNewHistory(new_history_name) { const { data } = await axios.post(`${getAppRoot()}api/histories`, { name: new_history_name }); + getGalaxyInstance().currHistoryPanel.switchToHistory(data.id); return data; }, showCollectionSelect: function (e) {