Skip to content
代码片段 群组 项目
未验证 提交 344f3007 编辑于 作者: Alexander Turinske's avatar Alexander Turinske 提交者: GitLab
浏览文件

Merge branch '451128-vue3-migration-import_projects-mutations' into 'master'

Remove Vue delete from import_projects/store/mutations

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/147573



Merged-by: default avatarAlexander Turinske <aturinske@gitlab.com>
Approved-by: default avatarRoss Byrne <robyrne@gitlab.com>
Approved-by: default avatarAlexander Turinske <aturinske@gitlab.com>
Co-authored-by: default avatarArtur Fedorov <afedorov@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -129,7 +129,9 @@ export default { ...@@ -129,7 +129,9 @@ export default {
importTarget.targetNamespace === state.defaultTargetNamespace && importTarget.targetNamespace === state.defaultTargetNamespace &&
importTarget.newName === existingRepo.importSource.sanitizedName importTarget.newName === existingRepo.importSource.sanitizedName
) { ) {
Vue.delete(state.customImportTargets, repoId); const importsCopy = { ...state.customImportTargets };
delete importsCopy[repoId];
state.customImportTargets = importsCopy;
} else { } else {
Vue.set(state.customImportTargets, repoId, importTarget); Vue.set(state.customImportTargets, repoId, importTarget);
} }
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册