1
0
Fork 0
mirror of https://github.com/GuerillaStudio/vanillalist.git synced 2024-12-30 11:51:57 +00:00

Fix no-result message display

This commit is contained in:
Tixie 2022-01-03 14:12:37 +01:00
parent 79777a100e
commit 0772d59c6f
2 changed files with 3 additions and 1 deletions

View file

@ -44,7 +44,9 @@ class PluginSearch {
generateResults(plugins) {
if (plugins.length === 0) {
this.noresult.classList.remove('hidden')
this.container.innerHTML = ''
} else {
this.noresult.classList.add('hidden')
this.container.innerHTML = plugins.map(plugin => {
return this.cardGenerator(plugin)
}).join('');

View file

@ -15,7 +15,7 @@
@import '1-core/_03-helpers';
// @import '1-core/_04-layout';
// @import '1-core/_05-flexgrid';
// @import '1-core/_06-rwd';
@import "1-core/_06-rwd";
// @import '1-core/_debug';
// --------------------------------------------------------------