mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gitlab] Rename value
GitOrigin-RevId: c23927d2908ea7b025d98ed24a22f225b668fb48
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d1cc43e59f
commit
1663b7a188
+4
-4
@@ -106,8 +106,8 @@ internal class GitLabMergeRequestCreateViewModelImpl(
|
||||
}?.iid
|
||||
}
|
||||
|
||||
override val commits: SharedFlow<Result<List<VcsCommitMetadata>>?> = branchState.transformLatest { model ->
|
||||
if (model == null) {
|
||||
override val commits: SharedFlow<Result<List<VcsCommitMetadata>>?> = branchState.transformLatest { state ->
|
||||
if (state == null) {
|
||||
emit(Result.success(emptyList()))
|
||||
return@transformLatest
|
||||
}
|
||||
@@ -117,8 +117,8 @@ internal class GitLabMergeRequestCreateViewModelImpl(
|
||||
runCatchingUser {
|
||||
GitLogUtil.collectMetadata(
|
||||
project,
|
||||
model.headRepo.gitRepository.root,
|
||||
"${model.baseBranch.name}..${model.headBranch.name}"
|
||||
state.headRepo.gitRepository.root,
|
||||
"${state.baseBranch.name}..${state.headBranch.name}"
|
||||
).commits
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user