소스 검색

refac: styling

Timothy Jaeryang Baek 4 달 전
부모
커밋
2914c29ab3
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/lib/components/layout/Sidebar.svelte

+ 1 - 2
src/lib/components/layout/Sidebar.svelte

@@ -544,9 +544,8 @@
 				? 'opacity-20'
 				: ''}"
 		>
-			{#if $user.role === 'admin' || $channels.length > 0}
+			{#if ($user.role === 'admin' || $channels.length > 0) && !search}
 				<Folder
-					collapsible={!search}
 					className="px-2 mt-0.5"
 					name={$i18n.t('Channels')}
 					dragAndDrop={false}