Lint fix
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
@click="expandOffersToUserAndMarkRead()"
|
@click="expandOffersToUserAndMarkRead()"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<a @click="handleSeeAllOffersToUser" class="text-blue-500 cursor-pointer">
|
<a class="text-blue-500 cursor-pointer" @click="handleSeeAllOffersToUser">
|
||||||
See all
|
See all
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -99,7 +99,10 @@
|
|||||||
@click="expandOffersToUserProjectsAndMarkRead()"
|
@click="expandOffersToUserProjectsAndMarkRead()"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<a @click="handleSeeAllOffersToUserProjects" class="text-blue-500 cursor-pointer">
|
<a
|
||||||
|
class="text-blue-500 cursor-pointer"
|
||||||
|
@click="handleSeeAllOffersToUserProjects"
|
||||||
|
>
|
||||||
See all
|
See all
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -247,7 +250,7 @@ export default class NewActivityView extends Vue {
|
|||||||
});
|
});
|
||||||
// note that we don't update this.lastAckedOfferToUserJwtId in case they
|
// note that we don't update this.lastAckedOfferToUserJwtId in case they
|
||||||
// later choose the last one to keep the offers as new
|
// later choose the last one to keep the offers as new
|
||||||
const message = fromSeeAll
|
const message = fromSeeAll
|
||||||
? "The offers are marked as viewed."
|
? "The offers are marked as viewed."
|
||||||
: "The offers are marked as viewed. Click in the list to keep them as new.";
|
: "The offers are marked as viewed. Click in the list to keep them as new.";
|
||||||
this.notify.info(message, TIMEOUTS.LONG);
|
this.notify.info(message, TIMEOUTS.LONG);
|
||||||
@@ -278,14 +281,17 @@ export default class NewActivityView extends Vue {
|
|||||||
async expandOffersToUserProjectsAndMarkRead(fromSeeAll: boolean = false) {
|
async expandOffersToUserProjectsAndMarkRead(fromSeeAll: boolean = false) {
|
||||||
this.showOffersToUserProjectsDetails =
|
this.showOffersToUserProjectsDetails =
|
||||||
!this.showOffersToUserProjectsDetails;
|
!this.showOffersToUserProjectsDetails;
|
||||||
if (this.showOffersToUserProjectsDetails && this.newOffersToUserProjects.length > 0) {
|
if (
|
||||||
|
this.showOffersToUserProjectsDetails &&
|
||||||
|
this.newOffersToUserProjects.length > 0
|
||||||
|
) {
|
||||||
await this.$updateSettings({
|
await this.$updateSettings({
|
||||||
lastAckedOfferToUserProjectsJwtId:
|
lastAckedOfferToUserProjectsJwtId:
|
||||||
this.newOffersToUserProjects[0].jwtId,
|
this.newOffersToUserProjects[0].jwtId,
|
||||||
});
|
});
|
||||||
// note that we don't update this.lastAckedOfferToUserProjectsJwtId in case
|
// note that we don't update this.lastAckedOfferToUserProjectsJwtId in case
|
||||||
// they later choose the last one to keep the offers as new
|
// they later choose the last one to keep the offers as new
|
||||||
const message = fromSeeAll
|
const message = fromSeeAll
|
||||||
? "The offers are marked as viewed."
|
? "The offers are marked as viewed."
|
||||||
: "The offers are marked as viewed. Click in the list to keep them as new.";
|
: "The offers are marked as viewed. Click in the list to keep them as new.";
|
||||||
this.notify.info(message, TIMEOUTS.LONG);
|
this.notify.info(message, TIMEOUTS.LONG);
|
||||||
|
|||||||
Reference in New Issue
Block a user