fix Import Done Button do not redirect

This commit is contained in:
Ben0it-T 2022-03-13 17:18:32 +01:00
parent 90be8ff936
commit f9b6978303

View file

@ -87,8 +87,13 @@ BlazeComponent.extendComponent({
if (err) {
this.setError(err.error);
} else {
let title = getSlug(this.importedData.get().title) || 'imported-board';
Session.set('fromBoard', null);
Utils.goBoardId(res);
FlowRouter.go('board', {
id: res,
slug: title,
})
//Utils.goBoardId(res);
}
},
);