Skip to content
Snippets Groups Projects
Commit e506d973 authored by Erik Seifert's avatar Erik Seifert
Browse files

Fix: Only override tmp store key

parent b6c225b8
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,6 @@ class UserDashboardSectionStorage extends DashboardSectionStorage implements Tem
$entity->loadOverrides();
$contexts[Dashboard::CONTEXT_TYPE] = EntityContext::fromEntity($entity);
}
$contexts['view_mode'] = new Context(new ContextDefinition('string'), $defaults['view_mode']);
return $contexts;
}
......@@ -151,7 +150,7 @@ class UserDashboardSectionStorage extends DashboardSectionStorage implements Tem
* {@inheritdoc}
*/
public function getTempstoreKey() {
return $this->account->id();
return $this->getDashboard()->id() . '_' . $this->account->id();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment