Fixes: Opening document history menu
This commit is contained in:
parent
5f97897418
commit
690feb6040
@ -310,7 +310,7 @@ class DocumentScene extends React.Component<Props> {
|
||||
const document = this.document;
|
||||
const revision = this.revision;
|
||||
const isShare = match.params.shareId;
|
||||
const isHistory = match.url.match(/\/history\//); // Can't match on history alone as that can be in the user-generated slug
|
||||
const isHistory = match.url.match(/\/history(\/|$)/); // Can't match on history alone as that can be in the user-generated slug
|
||||
|
||||
if (this.notFound) {
|
||||
return navigator.onLine ? (
|
||||
|
Reference in New Issue
Block a user