mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 21:12:15 -07:00
Fixed: Restoring a backup with a different API didn't reload properly
Fixes #2042 (cherry picked from commit 13ff2d4c70bc564525842c31d184127a3934e178)
This commit is contained in:
parent
55372f554f
commit
fa569f85b2
2 changed files with 72 additions and 1 deletions
|
@ -4,6 +4,7 @@ import { setAppValue } from 'Store/Actions/appActions';
|
|||
import { createThunk, handleThunks } from 'Store/thunks';
|
||||
import createAjaxRequest from 'Utilities/createAjaxRequest';
|
||||
import serverSideCollectionHandlers from 'Utilities/serverSideCollectionHandlers';
|
||||
import { pingServer } from './appActions';
|
||||
import { set } from './baseActions';
|
||||
import createFetchHandler from './Creators/createFetchHandler';
|
||||
import createHandleActions from './Creators/createHandleActions';
|
||||
|
@ -351,6 +352,7 @@ export const actionHandlers = handleThunks({
|
|||
|
||||
promise.done(() => {
|
||||
dispatch(setAppValue({ isRestarting: true }));
|
||||
dispatch(pingServer());
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue