Skip to content

Commit

Permalink
improve empty state texts for employees
Browse files Browse the repository at this point in the history
  • Loading branch information
Onatcer committed Oct 28, 2024
1 parent 7acadda commit b41d208
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions resources/js/Components/Common/Project/ProjectTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,19 @@ import { isAllowedToPerformPremiumAction } from '@/utils/billing';
v-if="projects.length === 0">
<FolderPlusIcon
class="w-8 text-icon-default inline pb-2"></FolderPlusIcon>
<h3 class="text-white font-semibold">No projects found</h3>
<p class="pb-5" v-if="canCreateProjects()">
Create your first project now!
<h3 class="text-white font-semibold">
{{
canCreateProjects()
? 'No projects found'
: 'You are not a member of any projects'
}}
</h3>
<p class="pb-5 max-w-md mx-auto text-sm pt-1">
{{
canCreateProjects()
? 'Create your first project now!'
: 'Ask your manager to add you to a project as a team member.'
}}
</p>
<SecondaryButton
v-if="canCreateProjects()"
Expand Down

0 comments on commit b41d208

Please sign in to comment.