From 76ee562516ea47fb70179fd2ec04afef14750520 Mon Sep 17 00:00:00 2001 From: Bread Genie Date: Tue, 30 Jul 2024 13:08:57 +0530 Subject: [PATCH] fix(DetailPage): don't add ellipsis for last breadcrumb --- dashboard/src2/pages/DetailPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src2/pages/DetailPage.vue b/dashboard/src2/pages/DetailPage.vue index 5edc6e2a82..483eaeca10 100644 --- a/dashboard/src2/pages/DetailPage.vue +++ b/dashboard/src2/pages/DetailPage.vue @@ -181,7 +181,7 @@ export default { // add ellipsis if breadcrumbs too long for (let i = 0; i < items.length; i++) { - if (items[i].label.length > 30) { + if (items[i].label.length > 30 && i !== items.length - 1) { items[i].label = items[i].label.slice(0, 30) + '...'; } }