mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
fix(git): include path parameter in listDir dispatch for directory listing
This commit is contained in:
@@ -71,7 +71,7 @@ watch(gitRootPath, () => {
|
||||
});
|
||||
watch(visible, () => {
|
||||
if (visible.value) {
|
||||
store.dispatch(`${nsGit}/listDir`, { id: activeId.value });
|
||||
store.dispatch(`${nsGit}/listDir`, { id: activeId.value, path: '/' });
|
||||
gitRootPath.value = gitState.activeFileNavItem?.path || FILE_ROOT;
|
||||
const name = [gitState.form.name, gitRootPath.value]
|
||||
.filter(f => f !== FILE_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user