diff --git a/tdrive/frontend/src/app/views/client/body/drive/header-path.tsx b/tdrive/frontend/src/app/views/client/body/drive/header-path.tsx index 1b0d85143..04c939ebd 100644 --- a/tdrive/frontend/src/app/views/client/body/drive/header-path.tsx +++ b/tdrive/frontend/src/app/views/client/body/drive/header-path.tsx @@ -162,9 +162,9 @@ const PathItem = ({ MenusManager.openMenu(trashMenuItems, { x: evt.clientX, y: evt.clientY }, 'center'); } else { if (viewId === 'root') { - onClick('root', '') + onClick('root', ''); } else if (viewId === 'user_' + user?.id) { - onClick('user_' + user?.id, '') + onClick('user_' + user?.id, ''); } } } else { @@ -172,7 +172,7 @@ const PathItem = ({ } }} > - + <Title noColor={last} className={last ? 'text-blue-500' : ''}> {(() => { const isTrash = viewId?.includes('trash_') || viewId === 'trash'; const fileName = cutFileName(item?.name) || '';