zidane 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tui.js +5 -2
- package/dist/tui.js.map +1 -1
- package/package.json +1 -1
package/dist/tui.js
CHANGED
|
@@ -4360,7 +4360,8 @@ function AppShell() {
|
|
|
4360
4360
|
if (lastResumedSessionId) {
|
|
4361
4361
|
const data = await store.load(lastResumedSessionId);
|
|
4362
4362
|
if (cancelled) return;
|
|
4363
|
-
|
|
4363
|
+
const sessionMatchesProject = settings.showAllProjects || data?.projectRoot != null && data.projectRoot === sessionProjectRoot;
|
|
4364
|
+
if (data && sessionMatchesProject) {
|
|
4364
4365
|
await activateSession(lastResumedSessionId, resumeProvider.key);
|
|
4365
4366
|
return;
|
|
4366
4367
|
}
|
|
@@ -4378,7 +4379,9 @@ function AppShell() {
|
|
|
4378
4379
|
refreshSessions,
|
|
4379
4380
|
resumeProvider,
|
|
4380
4381
|
lastResumedSessionId,
|
|
4381
|
-
store
|
|
4382
|
+
store,
|
|
4383
|
+
settings.showAllProjects,
|
|
4384
|
+
sessionProjectRoot
|
|
4382
4385
|
]);
|
|
4383
4386
|
const onPickProvider = useCallback(async (p) => {
|
|
4384
4387
|
const next = makePicked(p);
|