Skip to content

Commit c75cc16

Browse files
Merge main into feature/dev-execution
2 parents 78aa746 + 0fe75e9 commit c75cc16

File tree

1 file changed

+1
-1
lines changed
  • plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile

1 file changed

+1
-1
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile/QRegionProfileManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class QRegionProfileManager : PersistentStateComponent<QProfileState>, Disposabl
179179
fun isPendingProfileSelection(project: Project): Boolean = getIdcConnectionOrNull(project)?.let { conn ->
180180
val profileCounts = connectionIdToProfileCount[conn.id] ?: 0
181181
val activeProfile = connectionIdToActiveProfile[conn.id]
182-
profileCounts == 0 || (profileCounts > 1 && activeProfile?.arn.isNullOrEmpty())
182+
profileCounts > 1 && activeProfile?.arn.isNullOrEmpty()
183183
} ?: false
184184

185185
fun shouldDisplayProfileInfo(project: Project): Boolean = getIdcConnectionOrNull(project)?.let { conn ->

0 commit comments

Comments
 (0)