Skip to content

Commit 8f5cc8b

Browse files
Merge pull request #7424 from christianbeeznest/fixes-updates238
Learnpath: Fix student empty-state message in Learning Paths
2 parents fb21c81 + a4fa5fe commit 8f5cc8b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

assets/vue/views/lp/LpList.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@
9797
</svg>
9898
</div>
9999
<h3 class="text-base font-semibold">{{ t("You don't have any learning path.") }}</h3>
100-
<p class="text-body-2 text-gray-50 max-w-sm">
100+
<p
101+
v-if="canEdit"
102+
class="text-body-2 text-gray-50 max-w-sm"
103+
>
101104
{{ t("Create your first learning path to start organizing course content.") }}
102105
</p>
103106
<button

0 commit comments

Comments
 (0)