Merge commit '918563704f5ff5eeb1efa31a412ac38f97781e9e' into glitch-soc/merge-upstream
Conflicts: - `app/helpers/theme_helper.rb`: Upstream modified `theme_color_tags` to work on color scheme rather than theme. Updated it as well. - `app/views/layouts/embedded.html.haml`: Upstream changed the embed theme from `mastodon-light` to `system`. Glitch-soc doesn't use a hardcoded value, so ignore the change. - `spec/helpers/theme_helper_spec.rb`: Accomodate `theme_color_tags` changes.
This commit is contained in:
commit
b6b6e142ba
28 files changed
+83
-35
No files matched your search
@@ -83,6 +83,9 @@ export const Directory: React.FC<{
|
||||
(state) =>
|
||||
state.user_lists.getIn(['directory', 'isLoading'], true) as boolean,
|
||||
);
|
||||
const hasMore = useAppSelector(
|
||||
(state) => !!state.user_lists.getIn(['directory', 'next']),
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
void dispatch(fetchDirectory({ order, local }));
|
||||
@@ -182,7 +185,7 @@ export const Directory: React.FC<{
|
||||
|
||||
<LoadMore
|
||||
onClick={handleLoadMore}
|
||||
visible={!initialLoad}
|
||||
visible={!initialLoad && hasMore}
|
||||
loading={isLoading}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user