From e9d9b60abbe28d7b2a786c71d7a51885555a32fd Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Thu, 11 Jan 2024 09:29:47 +0700 Subject: [PATCH] fix: path should not display when search in user --- Services/client/src/components/PageLayout.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Services/client/src/components/PageLayout.vue b/Services/client/src/components/PageLayout.vue index 8dcad38..27d0645 100644 --- a/Services/client/src/components/PageLayout.vue +++ b/Services/client/src/components/PageLayout.vue @@ -108,9 +108,9 @@ const folderFormComponent = ref>() ผลการค้นหา {{ - mode === 'admin' && - currentInfo.path !== '/' && - currentInfo.path.split('/').join(' / ') + mode === 'admin' && currentInfo.path !== '/' + ? currentInfo.path.split('/').join(' / ') + : '' }}