Skip to content

Commit

Permalink
[YW][yugabyte#4661] Fix backups tab rendering issue
Browse files Browse the repository at this point in the history
Summary: Fix backups tab rendering issue.

Test Plan: Run UI as usual, navigate to Backups tab several times for different universes

Reviewers: ram, andrew

Reviewed By: andrew

Subscribers: ui

Differential Revision: https://phabricator.dev.yugabyte.com/D8610
  • Loading branch information
sshev committed Jun 3, 2020
1 parent d62b414 commit 22acc07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion managed/ui/src/reducers/reducer_universe.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export default function(state = INITIAL_STATE, action) {
case FETCH_UNIVERSE_BACKUPS_RESPONSE:
return setPromiseResponse(state, "universeBackupList", action);
case RESET_UNIVERSE_BACKUPS:
return { ...state, error: null, "universeBackupList": setInitialState({})};
return setInitialState(state, 'universeBackupList', []);

case CREATE_UNIVERSE_BACKUP:
return setLoadingState(state, "createUniverseBackup", {});
Expand Down

0 comments on commit 22acc07

Please sign in to comment.