浏览代码

fix: sidebar setting button

Timothy J. Baek 1 年之前
父节点
当前提交
92f0059bec
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/lib/components/layout/Sidebar.svelte

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

@@ -579,8 +579,8 @@
 				{:else}
 					<button
 						class=" flex rounded-md py-3 px-3.5 w-full hover:bg-gray-900 transition"
-						on:click={() => {
-							openSettings();
+						on:click={async () => {
+							await showSettings.set(true);
 						}}
 					>
 						<div class=" self-center mr-3">