0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Fixed page path set for links

no issue

- Fixes incorrect page path set for different links
This commit is contained in:
Rish 2020-07-08 10:42:28 +05:30
parent ad5d05c023
commit 01423f974b

View file

@ -147,7 +147,7 @@ export default class App extends React.Component {
const pagePath = path.replace('/portal/', '');
const pageFromPath = this.getPageFromPath(pagePath);
if (pageFromPath) {
previewState.page = 'signup';
previewState.page = pageFromPath;
}
}
}