From 9767db023b2c5a4881039aecc1379cb9a5aa848c Mon Sep 17 00:00:00 2001 From: Abdulsemiu Atanda Date: Sun, 7 May 2017 21:14:53 +0100 Subject: [PATCH] fix create product should flip into edit mode --- .../plugins/core/dashboard/client/containers/toolbarContainer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/imports/plugins/core/dashboard/client/containers/toolbarContainer.js b/imports/plugins/core/dashboard/client/containers/toolbarContainer.js index b1fac1f286a..3476e7eeebb 100644 --- a/imports/plugins/core/dashboard/client/containers/toolbarContainer.js +++ b/imports/plugins/core/dashboard/client/containers/toolbarContainer.js @@ -7,6 +7,7 @@ import { TranslationProvider, AdminContextProvider } from "/imports/plugins/core import { isRevisionControlEnabled } from "/imports/plugins/core/revisions/lib/api"; const handleAddProduct = () => { + Reaction.setUserPreferences("reaction-dashboard", "viewAs", "administrator"); Meteor.call("products/createProduct", (error, productId) => { if (Meteor.isClient) { let currentTag;