Skip to content

Commit

Permalink
fix: don't display topic progress above post progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
oplik0 committed Sep 8, 2022
1 parent 45b001a commit c6d709b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodebb-plugin-meilisearch",
"version": "0.5.3",
"version": "0.5.4",
"description": "A plugin for integrating MeiliSearch with NodeBB",
"main": "library.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion static/templates/admin/plugins/meilisearch.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</label>
</div>
<div class="col-sm-12 col-xs-12 reindex-progress-container {{{ if !indexing.running}}}hidden{{{end}}}">
<h4 class="text-center">[[meilisearch:admin.reindexTopicsProgress]] <span id="topic-reindex-progress-text">{indexing.post_progress.current}/{indexing.post_progress.total}</span></h4>
<h4 class="text-center">[[meilisearch:admin.reindexTopicsProgress]] <span id="topic-reindex-progress-text">{indexing.topic_progress.current}/{indexing.topic_progress.total}</span></h4>
<div class="progress">
<div id="topic-reindex-progress" class="progress-bar reindex-progress-bar" role="progressbar" aria-valuenow="{indexing.topic_progress.current}" aria-valuemin="0" aria-valuemax="{indexing.topic_progress.total}" style="width: {topicPercent};">
{indexing.topic_progress.current}/{indexing.topic_progress.total}
Expand Down

0 comments on commit c6d709b

Please sign in to comment.