framework/js
Alexander Skvortsov 0c95d28e94
Fix Search error when user can't search
If there are no search sources, HTML for the Search component won't be rendered, so trying to attach listeners to it will likely error.

In this PR, we don't attach such listeners/logic if there are no sources. We also stop asserting that sources is defined to help avoid other similar issues in the future.
2021-12-26 20:04:48 -05:00
..
.yarn/releases chore: migrate fully to Yarn (#3155) 2021-11-10 20:10:25 +00:00
dist Bundled output for commit 7a27f494c6 2021-12-22 18:58:42 +00:00
dist-typings Bundled output for commit 7a27f494c6 2021-12-22 18:58:42 +00:00
src Fix Search error when user can't search 2021-12-26 20:04:48 -05:00
.bundlewatch.config.json Add bundlewatch to track bundle size changes in PRs (#2695) 2021-03-17 14:54:42 +00:00
.gitignore chore: migrate fully to Yarn (#3155) 2021-11-10 20:10:25 +00:00
.yarnrc.yml chore: migrate fully to Yarn (#3155) 2021-11-10 20:10:25 +00:00
admin.js Drop JS copyright blocks 2021-05-15 20:11:38 -04:00
forum.js Drop JS copyright blocks 2021-05-15 20:11:38 -04:00
package.json fix(a11y): add focus traps to modals and nav drawer (#3018) 2021-11-21 19:44:31 +00:00
tsconfig.json Update core to use new Webpack config, flarum-tsconfig, and build action (#2856) 2021-05-13 00:28:17 +01:00
webpack.config.js chore: migrate fully to Yarn (#3155) 2021-11-10 20:10:25 +00:00
yarn.lock fix(a11y): add focus traps to modals and nav drawer (#3018) 2021-11-21 19:44:31 +00:00