summaryrefslogtreecommitdiffstats
path: root/core/js/setupchecks.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-12 23:43:29 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-06-13 11:56:43 +0200
commit624d191ef678d2f19a6d62e38f589c507ce05e72 (patch)
treefd77c791d001b29f88f7674bce99f96649db6450 /core/js/setupchecks.js
parented25fc3440f4d66539b2aa512f47ad12b03b7533 (diff)
downloadnextcloud-server-624d191ef678d2f19a6d62e38f589c507ce05e72.tar.gz
nextcloud-server-624d191ef678d2f19a6d62e38f589c507ce05e72.zip
Fix wrong hint about missing indexes
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r--core/js/setupchecks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index a3155287ac6..1fa69819377 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -183,7 +183,7 @@
type: OC.SetupChecks.MESSAGE_TYPE_INFO
})
}
- if (data.hasMissingIndexes) {
+ if (data.hasMissingIndexes.length > 0) {
var listOfMissingIndexes = "";
data.hasMissingIndexes.forEach(function(element){
listOfMissingIndexes += "<li>";