Skip to content

Commit

Permalink
Adds curate button to curation page
Browse files Browse the repository at this point in the history
  • Loading branch information
Nopfed committed Nov 7, 2023
1 parent 355f4f8 commit f5594bb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
6 changes: 1 addition & 5 deletions components/FeedItemCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
cols="12"
class="text-h5 font-weight-md-thin scale-text text-center"
>
{{
data?.curatedPublications
? data?.curatedPublications[0].id
: props.id
}}
{{ props.id }}
</v-col>
<v-col cols="12">
<v-progress-linear
Expand Down
43 changes: 24 additions & 19 deletions pages/curations/[curationId]/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,30 @@
</span>
</v-col>
<v-col cols="3">
<v-btn
v-if="isAuthedUserOwner"
variant="outlined"
color="primary"
elevation="2"
density="compact"
:to="`/curations/${curationId}/edit`"
>
Edit
</v-btn>
<v-btn
variant="outlined"
color="primary"
elevation="2"
density="compact"
:to="`/portals/${curationId}`"
>
Portal
</v-btn>
<CurateMenu :item="curation.contract.contractId" class="ml-7" />
<v-row>
<v-col>
<v-btn
v-if="isAuthedUserOwner"
variant="outlined"
color="primary"
elevation="2"
density="compact"
:to="`/curations/${curationId}/edit`"
>
Edit
</v-btn>
<v-btn
variant="outlined"
color="primary"
elevation="2"
density="compact"
:to="`/portals/${curationId}`"
>
Portal
</v-btn>
</v-col>
</v-row>
</v-col>
</v-row>
<v-row dense>
Expand Down

0 comments on commit f5594bb

Please sign in to comment.