enh: enter into folder

Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
This commit is contained in:
Timothy Jaeryang Baek
2025-07-13 02:40:48 +04:00
co-authored by Classic298
parent 6176dba3c9
commit 5abc03f4dd
6 changed files with 172 additions and 96 deletions
+3 -1
View File
@@ -22,7 +22,8 @@
socket,
config,
isApp,
models
models,
selectedFolder
} from '$lib/stores';
import { onMount, getContext, tick, onDestroy } from 'svelte';
@@ -494,6 +495,7 @@
draggable="false"
on:click={async () => {
selectedChatId = null;
selectedFolder.set(null);
if ($user?.role !== 'admin' && $user?.permissions?.chat?.temporary_enforced) {
await temporaryChatEnabled.set(true);