add 'isRegistered' check to guard against many buttons

This commit is contained in:
2024-08-04 19:56:10 -06:00
parent 6bac80a280
commit e0c50dcf62
5 changed files with 40 additions and 8 deletions

View File

@@ -189,10 +189,14 @@
<InfiniteScroll v-if="showProjects" @reached-bottom="loadMoreProjectData">
<div v-if="projects.length === 0" class="text-center py-4">
You have not announced any projects.
<br />
Hit the big
<fa icon="plus" class="bg-blue-600 text-white px-1 py-1 rounded-full" />
button. You'll never know until you try.
<div v-if="isRegistered">
Hit the big
<fa
icon="plus"
class="bg-blue-600 text-white px-1 py-1 rounded-full"
/>
button. You'll never know until you try.
</div>
</div>
<ul id="listProjects" class="border-t border-slate-300">
<li