|
|
@ -32,7 +32,7 @@ |
|
|
|
@click="expandOffersToUserAndMarkRead()" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<a @click="handleSeeAllOffersToUser" class="text-blue-500 cursor-pointer"> |
|
|
|
<a class="text-blue-500 cursor-pointer" @click="handleSeeAllOffersToUser"> |
|
|
|
See all |
|
|
|
</a> |
|
|
|
</div> |
|
|
@ -99,7 +99,10 @@ |
|
|
|
@click="expandOffersToUserProjectsAndMarkRead()" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<a @click="handleSeeAllOffersToUserProjects" class="text-blue-500 cursor-pointer"> |
|
|
|
<a |
|
|
|
class="text-blue-500 cursor-pointer" |
|
|
|
@click="handleSeeAllOffersToUserProjects" |
|
|
|
> |
|
|
|
See all |
|
|
|
</a> |
|
|
|
</div> |
|
|
@ -278,7 +281,10 @@ export default class NewActivityView extends Vue { |
|
|
|
async expandOffersToUserProjectsAndMarkRead(fromSeeAll: boolean = false) { |
|
|
|
this.showOffersToUserProjectsDetails = |
|
|
|
!this.showOffersToUserProjectsDetails; |
|
|
|
if (this.showOffersToUserProjectsDetails && this.newOffersToUserProjects.length > 0) { |
|
|
|
if ( |
|
|
|
this.showOffersToUserProjectsDetails && |
|
|
|
this.newOffersToUserProjects.length > 0 |
|
|
|
) { |
|
|
|
await this.$updateSettings({ |
|
|
|
lastAckedOfferToUserProjectsJwtId: |
|
|
|
this.newOffersToUserProjects[0].jwtId, |
|
|
|