[Glitch] Add aliases for WebUI routes that were renamed in #16171
Port 11502ae46e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@ -177,7 +177,7 @@ export function submitCompose(routerHistory) {
|
||||
},
|
||||
}).then(function (response) {
|
||||
if (routerHistory
|
||||
&& routerHistory.location.pathname === '/publish'
|
||||
&& (routerHistory.location.pathname === '/publish' || routerHistory.location.pathname === '/statuses/new')
|
||||
&& window.history.state
|
||||
&& !getState().getIn(['compose', 'advanced_options', 'threaded_mode'])) {
|
||||
routerHistory.goBack();
|
||||
|
Reference in New Issue
Block a user