Skip to content

Commit b41d208

Browse files
committed
improve empty state texts for employees
1 parent 7acadda commit b41d208

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

resources/js/Components/Common/Project/ProjectTable.vue

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,19 @@ import { isAllowedToPerformPremiumAction } from '@/utils/billing';
6565
v-if="projects.length === 0">
6666
<FolderPlusIcon
6767
class="w-8 text-icon-default inline pb-2"></FolderPlusIcon>
68-
<h3 class="text-white font-semibold">No projects found</h3>
69-
<p class="pb-5" v-if="canCreateProjects()">
70-
Create your first project now!
68+
<h3 class="text-white font-semibold">
69+
{{
70+
canCreateProjects()
71+
? 'No projects found'
72+
: 'You are not a member of any projects'
73+
}}
74+
</h3>
75+
<p class="pb-5 max-w-md mx-auto text-sm pt-1">
76+
{{
77+
canCreateProjects()
78+
? 'Create your first project now!'
79+
: 'Ask your manager to add you to a project as a team member.'
80+
}}
7181
</p>
7282
<SecondaryButton
7383
v-if="canCreateProjects()"

0 commit comments

Comments
 (0)