aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2022-11-24 13:54:35 +0000
committerElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2023-11-14 13:39:39 +0100
commit1ca6916b32f0f6cfedb8eacd28bf2226d7d21ba5 (patch)
treebb0283eb995814cd77c359aa477c5af07ec14e09
parent580453538f1a1135770480738b58ac665440b6e2 (diff)
fixes #1811
Closes #1811 Merge request studip/studip!1192
-rw-r--r--resources/assets/javascripts/lib/oer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/assets/javascripts/lib/oer.js b/resources/assets/javascripts/lib/oer.js
index 089958f..ca5729b 100644
--- a/resources/assets/javascripts/lib/oer.js
+++ b/resources/assets/javascripts/lib/oer.js
@@ -201,7 +201,7 @@ const OER = {
},
mounted: function () {
this.results = $(this.$el).data('searchresults');
- if (this.results !== null) {
+ if (this.results !== false) {
$("#new_ones").hide();
}
if ($(this.$el).data('filteredcategory')) {