Fix/hibernate (#652)

* feat: allow use local tiddlywiki version

closes #536

* test: hibernate

* fix: Ensure wiki worker is started before setting active view for hibernated wikiu

* fix: injection
This commit is contained in:
lin onetwo 2025-11-09 21:32:37 +08:00 committed by GitHub
parent ed198d375b
commit 82bb1c2d77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 284 additions and 10 deletions

View file

@ -69,7 +69,7 @@ export function ExistedWikiForm({
// Update local state immediately for responsive UI
const newValue = event.target.value;
setFullPath(newValue);
// Parse path into parent and folder for validation
const lastSlashIndex = Math.max(newValue.lastIndexOf('/'), newValue.lastIndexOf('\\'));
if (lastSlashIndex >= 0) {