From cc8d542878e6ed8fc6c419ae7279d85f8caf9296 Mon Sep 17 00:00:00 2001 From: Roie Natan Date: Wed, 27 Dec 2023 15:55:41 -0500 Subject: [PATCH] fix: correct param name for hasPermission in checkIsMoveToAllowed --- .../components/DiscussionFeedCard/utils/checkIsMoveToAllowed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/common/components/DiscussionFeedCard/utils/checkIsMoveToAllowed.ts b/src/pages/common/components/DiscussionFeedCard/utils/checkIsMoveToAllowed.ts index d0ca21d9a6..1175daaeeb 100644 --- a/src/pages/common/components/DiscussionFeedCard/utils/checkIsMoveToAllowed.ts +++ b/src/pages/common/components/DiscussionFeedCard/utils/checkIsMoveToAllowed.ts @@ -22,7 +22,7 @@ export const checkIsMoveToAllowed = ( governance: { circles: options.governanceCircles || {}, }, - key: GovernanceActions.MOVE_FROM_HERE, + action: GovernanceActions.MOVE_FROM_HERE, }) ); };