diff --git a/mattermost-plugin/webapp/src/components/boardSelector.tsx b/mattermost-plugin/webapp/src/components/boardSelector.tsx
index e4fba9dce..8390db17f 100644
--- a/mattermost-plugin/webapp/src/components/boardSelector.tsx
+++ b/mattermost-plugin/webapp/src/components/boardSelector.tsx
@@ -112,6 +112,19 @@ const BoardSelector = () => {
dispatch(setLinkToChannel(''))
}
+ let confirmationSubText
+ if (showLinkBoardConfirmation?.channelId !== '') {
+ confirmationSubText = intl.formatMessage({
+ id: 'boardSelector.confirm-link-board-subtext-with-other-channel',
+ defaultMessage: 'Linking the "{boardName}" board to this channel would give all members of this channel "Editor" access to the board.\n\nAdditionally, this board is linked to another channel, and will be unlinked from the other channel when you link it here.\n\nAre you sure you want to link it?'
+ }, {boardName: showLinkBoardConfirmation?.title})
+ } else {
+ confirmationSubText = intl.formatMessage({
+ id: 'boardSelector.confirm-link-board-subtext',
+ defaultMessage: 'Linking the "{boardName}" board to this channel would give all members of this channel "Editor" access to the board.\n\nAre you sure you want to link it?'
+ }, {boardName: showLinkBoardConfirmation?.title})
+ }
+
return (