Skip to content

Commit

Permalink
Merge branch 'development' of github.com:rule110-io/surge-ui into dev…
Browse files Browse the repository at this point in the history
…elopment
  • Loading branch information
WizardOfCodez committed Dec 7, 2020
2 parents 6e0b3c3 + d798e88 commit 151a2a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/Download.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="table__head">Seeds</div>
<div class="table__head"></div>
</div>
<TablePlaceholder v-if="!localFiles" type="transfer" />
<TablePlaceholder v-if="!localFiles.length" type="transfer" />
<template v-else>
<div
class="table__row"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<div class="table__head">Source</div>
</div>
<TablePlaceholder
v-if="!remoteFiles && remoteFilesConfig.search.length > 0"
v-if="!remoteFiles.length && remoteFilesConfig.search.length > 0"
type="search"
/>
<TablePlaceholder
v-if="!remoteFiles && remoteFilesConfig.search.length === 0"
v-if="!remoteFiles.length && remoteFilesConfig.search.length === 0"
type="remote"
/>

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/store/modules/files.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const getDefaultState = () => {
return {
localFiles: false,
remoteFiles: false,
localFiles: [],
remoteFiles: [],
localCount: 0,
remoteCount: 0,
localPages: 0,
Expand Down

0 comments on commit 151a2a5

Please sign in to comment.