[gitlab] fix unique account check

IDEA-312958 Fixed

GitOrigin-RevId: ee48a66bc3ac3ac86640e15a350d69a561b98b59
This commit is contained in:
Ivan Semenov
2023-05-16 18:25:03 +02:00
committed by intellij-monorepo-bot
parent c92e8c72b7
commit 4cf4dc74e2

View File

@@ -25,5 +25,5 @@ internal class GitLabAccountsPanelActionsController(private val project: Project
}
private fun isAccountUnique(serverPath: GitLabServerPath, username: String) =
model.accounts.none { it.server == serverPath || it.name == username }
model.accounts.none { it.server == serverPath && it.name == username }
}