1
0
mirror of https://github.com/flarum/core.git synced 2025-07-10 03:16:22 +02:00
Files
php-flarum/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
..
2021-12-22 18:58:42 +00:00
2021-05-15 20:11:38 -04:00
2021-05-15 20:11:38 -04:00