Compare commits

..
3 changed files with 14 additions and 2 deletions

No files matched your search

+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [4.5.24](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.23...@ohif/viewer@4.5.24) (2020-11-02)
**Note:** Version bump only for package @ohif/viewer
## [4.5.23](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.22...@ohif/viewer@4.5.23) (2020-11-02)
**Note:** Version bump only for package @ohif/viewer
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/viewer",
"version": "4.5.23",
"version": "4.5.24",
"description": "OHIF Viewer",
"author": "OHIF Contributors",
"license": "MIT",
+5 -1
View File
@@ -1,13 +1,17 @@
import React from 'react';
import './NotFound.css';
import { Link } from 'react-router-dom';
import { useAppContext } from '../context/AppContext';
export default function NotFound({ message = 'Sorry, this page does not exist.', showGoBackButton = true }) {
const context = useAppContext();
return (
<div className={'not-found'}>
<div>
<h4>{message}</h4>
{showGoBackButton && (
{showGoBackButton && context.appConfig.showStudyList && (
<h5>
<Link to={'/'}>Go back to the Study List</Link>
</h5>