Skip to content

Commit

Permalink
update detail sidebar logic
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Nov 30, 2021
1 parent 57c2bed commit 7c41663
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ <h3>About</h3>
This grant has not verified their ownership of the twitter account listed.
</b-card-text>

<div v-if="grant.is_on_team" class="text-center">
<div v-if="(grant.is_on_team || isStaff)" class="text-center">

<template v-if="user_code">
<b-button v-b-modal.modal-start-twitter-verification variant="primary" class="btn btn-block btn-primary">
Expand All @@ -409,7 +409,7 @@ <h3>About</h3>
</template>

<!-- Idle Grant -->
<template v-if="grant.active && grant.is_on_team && grant.is_idle">
<template v-if="grant.active && (grant.is_on_team || isStaff) && grant.is_idle">
<b-card-text>
<p class="font-weight-semibold mb-2">
<i class="fal fa-exclamation-circle mr-1 text-danger"></i>
Expand All @@ -425,7 +425,7 @@ <h3>About</h3>


<!-- L2 contributions -->
<template v-if="grant.active && grant.is_on_team && grant.tenants.includes('ETH')">
<template v-if="grant.active && (grant.is_on_team || isStaff) && grant.tenants.includes('ETH')">
<b-card-text>
<p class="font-weight-semibold mb-2">
<i class="fal fa-wallet mr-1"></i>
Expand All @@ -441,7 +441,7 @@ <h3>About</h3>


<!-- Edit Grant Button -->
<template v-if="grant.active && !grant.is_idle && (grant.is_on_team || isStaff)">
<template v-if="!grant.is_idle && (grant.is_on_team || isStaff)">
<hr class="my-4">

<b-card-text>
Expand Down

0 comments on commit 7c41663

Please sign in to comment.