Skip to content

Commit bd030be

Browse files
committed
Fix(web): Help Page shown before projects are loaded
It is still shown when no projects are present fixes: #294
1 parent a842960 commit bd030be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web/src/components/ProjectOverview.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
:project="project"
2020
/>
2121
</div>
22-
<Help v-if="!projects.length" />
22+
<Help v-if="!loading && !projects.length" />
2323
</div>
2424
</template>
2525

@@ -40,11 +40,14 @@ export default {
4040
projects: [],
4141
favouriteProjects: [],
4242
nonFavouriteProjects: [],
43+
loading : Boolean,
4344
}
4445
},
4546
async created() {
47+
this.loading = true
4648
this.projects = await ProjectRepository.get()
4749
this.load()
50+
this.loading = false
4851
},
4952
methods: {
5053
load() {

0 commit comments

Comments
 (0)