From f9b69783031e7e578336bc0d8c5d6ea911ebc867 Mon Sep 17 00:00:00 2001 From: Ben0it-T Date: Sun, 13 Mar 2022 17:18:32 +0100 Subject: [PATCH] fix Import Done Button do not redirect --- client/components/import/import.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/components/import/import.js b/client/components/import/import.js index 3176a68b0..59d871921 100644 --- a/client/components/import/import.js +++ b/client/components/import/import.js @@ -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); } }, );