Web: Files: Added opportunity to open documents by old links
This commit is contained in:
parent
576f473f4e
commit
a1612a39c9
@ -157,7 +157,7 @@ class App extends React.Component {
|
||||
/>
|
||||
<Route
|
||||
exact
|
||||
path={`${homepage}/doceditor`}
|
||||
path={[`${homepage}/doceditor`, `${homepage}/DocEditor.aspx`]}
|
||||
component={DocEditor}
|
||||
/>
|
||||
<PrivateRoute
|
||||
|
@ -27,7 +27,9 @@ class PureEditor extends React.Component {
|
||||
super(props);
|
||||
|
||||
const urlParams = getObjectByLocation(window.location);
|
||||
const fileId = urlParams ? urlParams.fileId || null : null;
|
||||
const fileId = urlParams
|
||||
? urlParams.fileId || urlParams.fileid || null
|
||||
: null;
|
||||
const doc = urlParams ? urlParams.doc || null : null;
|
||||
const desktop = window["AscDesktopEditor"] !== undefined;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user