Skip to content

Commit

Permalink
fix: search tables placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
lightmyfire17 committed Dec 7, 2020
1 parent 151a2a5 commit aed0133
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions frontend/src/pages/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@
<div class="table__head">Source</div>
</div>
<TablePlaceholder
v-if="!remoteFiles.length && remoteFilesConfig.search.length > 0"
v-if="remoteFilesConfig.search.length > 0"
type="search"
/>
<TablePlaceholder
v-if="!remoteFiles.length && remoteFilesConfig.search.length === 0"
type="remote"
/>

<TablePlaceholder v-else-if="!remoteFiles" type="remote" />
<template v-else>
<div
class="table__row"
Expand Down

0 comments on commit aed0133

Please sign in to comment.