diff --git a/ghost/admin/controllers/settings/labs.js b/ghost/admin/controllers/settings/labs.js index f3c7e8023c..fcbfc48264 100644 --- a/ghost/admin/controllers/settings/labs.js +++ b/ghost/admin/controllers/settings/labs.js @@ -53,6 +53,13 @@ var LabsController = Ember.Controller.extend(Ember.Evented, { contentType: false, processData: false }).then(function () { + // Clear the store, so that all the new data gets fetched correctly. + self.store.unloadAll('post'); + self.store.unloadAll('tag'); + self.store.unloadAll('user'); + self.store.unloadAll('role'); + self.store.unloadAll('setting'); + self.store.unloadAll('notification'); self.notifications.showSuccess('Import successful.'); }).catch(function (response) { if (response && response.jqXHR && response.jqXHR.responseJSON && response.jqXHR.responseJSON.errors) {