Fix: hide offer link from unregistered users

This commit is contained in:
Jose Olarte III
2025-08-21 16:25:57 +08:00
parent 6afe1c4c13
commit 5f63e05090

View File

@@ -245,11 +245,11 @@
<h3 class="text-lg font-bold mb-3 mt-4">Offered To This Idea</h3> <h3 class="text-lg font-bold mb-3 mt-4">Offered To This Idea</h3>
<div v-if="offersToThis.length === 0"> <div v-if="offersToThis.length === 0" class="text-sm">
(None yet. Wanna (None yet.<span v-if="activeDid && isRegistered"> Wanna
<span class="cursor-pointer text-blue-500" @click="openOfferDialog()" <span class="cursor-pointer text-blue-500" @click="openOfferDialog()"
>offer something... especially if others join you</span >offer something&hellip; especially if others join you</span
>?) >?</span>)
</div> </div>
<ul v-else class="text-sm border-t border-slate-300"> <ul v-else class="text-sm border-t border-slate-300">