Skip to content

Commit

Permalink
Merge pull request #232 from nih-sparc/sprint-41-qa-fixes
Browse files Browse the repository at this point in the history
Hide profile sections if a user is not in an org
  • Loading branch information
egauzens authored Nov 17, 2024
2 parents db5192d + 4450762 commit 71abbf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/user/profile/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
</div>
</div>

<div class="section heading2 p-16 mt-16">
<div v-if="organizations.length >= 1" class="section heading2 p-16 mt-16">
<div class="datasets-container-title">
<span class="heading2 mb-16">Published Datasets ({{ datasets.length }})</span>
<span>
Expand All @@ -155,7 +155,7 @@
<gallery :v-loading="datasetsLoading" galleryItemType="datasets" :items="datasets" />
</div>

<div class="section heading2 p-16 mt-16">
<div v-if="organizations.length >= 1" class="section heading2 p-16 mt-16">
<div class="datasets-container-title">
<span class="heading2 mb-16">In Progress Datasets ({{ inProgressDatasets.length }})</span>
<span>
Expand All @@ -175,7 +175,7 @@
<gallery :v-loading="inProgressDatasetsLoading" galleryItemType="inProgressDatasets" :items="inProgressDatasets" />
</div>

<div v-if="showDatasetSubmissionFeature" class="section heading2 p-16 mt-16">
<div v-if="showDatasetSubmissionFeature && organizations.length > 1" class="section heading2 p-16 mt-16">
<div class="datasets-container-title">
<span class="heading2">Dataset Submission Requests ({{ datasetSubmissions.length }})</span>
<span>
Expand Down

0 comments on commit 71abbf3

Please sign in to comment.