fix(ui): resolve merge conflict in DirectoryExplorerDialog batch add
This commit is contained in:
@@ -497,7 +497,6 @@ export const DirectoryExplorerDialog: React.FC<DirectoryExplorerDialogProps> = (
|
|||||||
} else if (shouldCreateTarget && normalizeDirectoryPath(target) === normalizeDirectoryPath(targetPath)) {
|
} else if (shouldCreateTarget && normalizeDirectoryPath(target) === normalizeDirectoryPath(targetPath)) {
|
||||||
await opencodeClient.createDirectory(target);
|
await opencodeClient.createDirectory(target);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
const project = await addProject(selectedTarget);
|
const project = await addProject(selectedTarget);
|
||||||
if (!project) {
|
if (!project) {
|
||||||
toast.error(t('directoryExplorerDialog.toast.failedToAddProject'), {
|
toast.error(t('directoryExplorerDialog.toast.failedToAddProject'), {
|
||||||
|
|||||||
Reference in New Issue
Block a user