mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-11-20 17:21:24 +03:00
B: Reset to default graph settings
This commit is contained in:
parent
708eaca7d7
commit
73e74bdd2d
|
|
@ -153,20 +153,8 @@ export const useTermGraphStore = create<TermGraphStore>()(
|
|||
}))
|
||||
}),
|
||||
{
|
||||
version: 4,
|
||||
name: 'portal.termGraph',
|
||||
migrate: (state, version) => {
|
||||
if (!state) {
|
||||
return state;
|
||||
}
|
||||
if (version < 4) {
|
||||
return {
|
||||
...state,
|
||||
mode: InteractionMode.explore
|
||||
};
|
||||
}
|
||||
return state;
|
||||
}
|
||||
version: 5,
|
||||
name: 'portal.termGraph'
|
||||
}
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user