fix(Browser history): fixed NPE when navigating a study via browser history and history navigation is now available via the navigateHistory command (#3337)
* fix(Browser history): - fixed an NPE when navigating to a different study via the URL - exposed browser history navigation via a command * Added documentation for the navigateHistory command. Moved the history object from UI to viewer.
This commit is contained in:
1 parent
eea0ed487b
commit
51cb0519fc
7 files changed
+88
-1
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { NavigateFunction } from 'react-router';
|
||||
|
||||
type History = {
|
||||
navigate: NavigateFunction;
|
||||
};
|
||||
|
||||
export const history: History = {
|
||||
navigate: null,
|
||||
};
|
||||
Reference in new issue
Block a user