Skip to content

Commit

Permalink
Fix loading indicator when open empty circle
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Sep 24, 2023
1 parent df3b3f4 commit 2c36bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/reducers/circles.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const normalizeCircle = (state, circle) => {
} else {
s = s.setIn([circle.id, 'statuses'], initialStatusesState);
}
return s;
return s.setIn([circle.id, 'isLoading'], false).setIn([circle.id, 'isLoaded'], true);
};

const normalizeCircles = (state, circles) => {
Expand Down

0 comments on commit 2c36bce

Please sign in to comment.