mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
Fixes default values on web interface
This commit is contained in:
parent
44cb7f68f9
commit
8c49ee1b3b
@ -10,6 +10,7 @@
|
|||||||
- Error codes in updates (#792)
|
- Error codes in updates (#792)
|
||||||
- Sentry disable argument (#813)
|
- Sentry disable argument (#813)
|
||||||
- Log analytics if enabled (#825)
|
- Log analytics if enabled (#825)
|
||||||
|
- Fix default values displayed on web interface (#874)
|
||||||
|
|
||||||
## v0.12.0
|
## v0.12.0
|
||||||
|
|
||||||
|
@ -136,13 +136,13 @@
|
|||||||
<div class="level-item has-text-centered">
|
<div class="level-item has-text-centered">
|
||||||
<div>
|
<div>
|
||||||
<p class="heading">Documents</p>
|
<p class="heading">Documents</p>
|
||||||
<p id="count" class="title">25</p>
|
<p id="count" class="title">0</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="level-item has-text-centered">
|
<div class="level-item has-text-centered">
|
||||||
<div>
|
<div>
|
||||||
<p class="heading">Time Spent</p>
|
<p class="heading">Time Spent</p>
|
||||||
<p id="time" class="title">4ms</p>
|
<p id="time" class="title">N/A</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
@ -221,7 +221,7 @@
|
|||||||
results.innerHTML = '';
|
results.innerHTML = '';
|
||||||
|
|
||||||
let processingTimeMs = httpResults.processingTimeMs;
|
let processingTimeMs = httpResults.processingTimeMs;
|
||||||
let numberOfDocuments = httpResults.hits.length;
|
let numberOfDocuments = httpResults.nbHits;
|
||||||
time.innerHTML = `${processingTimeMs}ms`;
|
time.innerHTML = `${processingTimeMs}ms`;
|
||||||
count.innerHTML = `${numberOfDocuments}`;
|
count.innerHTML = `${numberOfDocuments}`;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user