mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
fix(git): update listDir dispatch to include path parameter
This commit is contained in:
@@ -140,7 +140,7 @@ const useGitDetail = () => {
|
||||
ElMessage.success(t('components.git.common.message.success.pull'));
|
||||
}
|
||||
if (activeTabName.value === TAB_NAME_FILES) {
|
||||
await store.dispatch(`${ns}/listDir`, { id: id.value });
|
||||
await store.dispatch(`${ns}/listDir`, { id: id.value, path: '/' });
|
||||
} else if (activeTabName.value === TAB_NAME_LOGS) {
|
||||
await store.dispatch(`${ns}/getLogs`, { id: id.value });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user