mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-25 09:34:26 +08:00
This commit adds an @enabled boolean to `<LoadMore />` to allow for cases where the element is visible in the viewport but you don't want to allow the `loadMore` behaviour. A use case for this is when our controllers return some `canLoadMore` boolean. There is no use attempting to load more from the server in this case, there will be nothing else. I also moved the CSS styles for the `<LoadMore />` component into a new file. This also fixes a bug in the users list shown here https://meta.discourse.org/t/users-list-only-partial/368793 |
||
|---|---|---|
| .. | ||
| admin | ||
| common | ||
| desktop | ||
| lib | ||
| mobile | ||
| vendor | ||
| admin.scss | ||
| admin_rtl.scss | ||
| color_definitions.scss | ||
| common.scss | ||
| desktop.scss | ||
| desktop_rtl.scss | ||
| embed.scss | ||
| ember_cli.scss | ||
| mobile.scss | ||
| mobile_rtl.scss | ||
| publish.scss | ||
| qunit-custom.scss | ||
| wcag.scss | ||
| wizard.scss | ||
| wizard_rtl.scss | ||