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:
parent
79777a100e
commit
0772d59c6f
2 changed files with 3 additions and 1 deletions
|
@ -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('');
|
||||
|
|
|
@ -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';
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue