mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-12 09:36:54 +01:00
Fixed bug causing changes in the sources (e.g. via push) not to be reflected in UI
This commit is contained in:
@@ -92,8 +92,8 @@ export default function reducer(
|
||||
): any {
|
||||
if (action.itemId && action.type === FETCH_SOURCES_SUCCESS) {
|
||||
return {
|
||||
[action.itemId]: action.payload,
|
||||
...state
|
||||
...state,
|
||||
[action.itemId]: action.payload
|
||||
};
|
||||
}
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user