mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Renamed the quicksearch controller
This commit is contained in:
parent
0dea26f67d
commit
04aeab7ea6
2 changed files with 6 additions and 1 deletions
|
@ -31,6 +31,11 @@ import {
|
|||
STATISTICS_PARTS
|
||||
} from '../../translator';
|
||||
|
||||
|
||||
/**
|
||||
* This controller is responsible for the search fields in the navbar and the homepage.
|
||||
* It uses the Algolia Autocomplete library to provide a fast and responsive search.
|
||||
*/
|
||||
export default class extends Controller {
|
||||
|
||||
static targets = ["input"];
|
|
@ -84,7 +84,7 @@
|
|||
{{ _self.settings_drodown(is_navbar) }}
|
||||
{% endif %}
|
||||
|
||||
<div {{ stimulus_controller('elements/part_livesearch') }}
|
||||
<div {{ stimulus_controller('elements/part_search') }}
|
||||
class="mt-auto mb-auto {% if not is_navbar %}w-100{% endif %}"
|
||||
{% if is_navbar %}id="navbar-quicksearch-container"{% endif %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue