Skip to content

Commit

Permalink
Fix innacurate "no projects" message (close #798)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermendes committed May 24, 2018
1 parent aa570bf commit afead6a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pages/collection/_short_name/projects/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,14 @@
:collection="collection"
:orderby="sortModel.orderby"
:desc="sortModel.desc"
no-results=""
no-more-results=""
v-model="projects">
:show-no-results="false"
v-model="projects"
@complete="projectLoadingComplete = true">
</infinite-load-projects>

<p class="lead text-center" v-if="allProjectsFiltered">
<p
class="lead text-center"
v-if="allProjectsFiltered && projectLoadingComplete">
No projects are currently available using the selected filters.
<br>
You can use the input fields on the left to change them.
Expand Down Expand Up @@ -147,6 +149,7 @@ export default {
showCompleted: false,
filter: null,
filterBy: 'name',
projectLoadingComplete: false,
tableFields: {
name: {
label: 'Name'
Expand Down

0 comments on commit afead6a

Please sign in to comment.