[github] Fix inverted action available for GitHub viewed/not viewed (IDEA-346464)

Fixes IDEA-346464

GitOrigin-RevId: 955105fdca88263109331cfc3a4e8c154a6361bd
This commit is contained in:
Chris Lemaire
2024-02-16 18:36:10 +00:00
committed by intellij-monorepo-bot
parent c61c42bd79
commit 5afb1d7926
@@ -25,7 +25,7 @@ internal abstract class GHPRViewedStateAction(
if (!vm.isOnLatest) return
e.presentation.isEnabledAndVisible = vm.isViewedStateForAllChanges(changes, isViewed)
e.presentation.isEnabledAndVisible = vm.isViewedStateForAllChanges(changes, !isViewed)
}
override fun actionPerformed(e: AnActionEvent) {