We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56b327d commit 92867baCopy full SHA for 92867ba
apps/web/core/store/workspace/index.ts
@@ -288,11 +288,7 @@ export class WorkspaceRootStore implements IWorkspaceRootStore {
288
// Optimistically update store
289
const updatedPreferences: IWorkspaceSidebarNavigation = {};
290
data.forEach((item) => {
291
- updatedPreferences[item.key] = {
292
- key: item.key,
293
- is_pinned: item.is_pinned,
294
- sort_order: item.sort_order,
295
- };
+ updatedPreferences[item.key] = item;
296
});
297
298
runInAction(() => {
0 commit comments