Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: display public samples in the absence of projects. #1146

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion resources/js/Pages/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@
</div>
</div>
</template>
<div v-if="projects.length > 0" class="px-8 py-8 mx-auto max-w-4xl">
<div
v-if="projects.length > 0 || samples.length > 0"
class="px-8 py-8 mx-auto max-w-4xl"
>
<div>
<div class="sm:hidden">
<label for="tabs" class="sr-only">Select a tab</label>
Expand Down
5 changes: 3 additions & 2 deletions resources/js/Pages/Project/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
<div class="mt-3 max-w-2xl text-sm text-gray-700">
nmrXiv is organized around projects. Projects can
contain as many samples as you wish and each sample
receives its very own URL. To learn more, check out our
documentation.
receives its very own URL. Use the "UPLOAD" button on
the upper left side to start uploading projects or
samples. To learn more, check out our documentation.
</div>
<!-- <button
type="button"
Expand Down