mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-30 04:11:33 -08:00
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:
parent
ed198d375b
commit
82bb1c2d77
10 changed files with 284 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue