Merge pull request #4411 from Ben0it-T/fix-import-Done-Button-do-not-redirect

fix Import Done Button do not redirect
This commit is contained in:
Lauri Ojansivu 2022-03-16 22:38:13 +02:00 committed by GitHub
commit 5514c357ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
}
},
);