mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Switch to newly created history
Co-authored-by: Oleg Zharkov <jos.to.new@gmail.com>
This commit is contained in:
co-authored by
Oleg Zharkov
parent
ba6dbe9513
commit
5292bedabd
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user