From be0abc8f1e8aeff991f15c555d4e50cf16dc072b Mon Sep 17 00:00:00 2001 From: darrell-thobe-sp Date: Mon, 11 Dec 2023 15:34:34 -0500 Subject: [PATCH] update to use stg discourse for comment testing --- .../video-library/VideoCardDetails/styles.module.css | 4 ++++ src/components/video-library/VideoComments/index.js | 11 ++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/components/video-library/VideoCardDetails/styles.module.css b/src/components/video-library/VideoCardDetails/styles.module.css index 5b96868c136..837dfd88f2e 100644 --- a/src/components/video-library/VideoCardDetails/styles.module.css +++ b/src/components/video-library/VideoCardDetails/styles.module.css @@ -4,3 +4,7 @@ align-content: center; margin: auto; } + +iframe#discourse-embed-frame { + height: 200px !important; +} \ No newline at end of file diff --git a/src/components/video-library/VideoComments/index.js b/src/components/video-library/VideoComments/index.js index 3ea7388ffa7..1a5814cd4be 100644 --- a/src/components/video-library/VideoComments/index.js +++ b/src/components/video-library/VideoComments/index.js @@ -2,9 +2,14 @@ import React, {useEffect} from 'react'; const DiscourseEmbed = () => { useEffect(() => { - window.DiscourseEmbed = { - discourseUrl: 'https://developer.sailpoint.com/discuss/', - topicId: 22376, + // window.DiscourseEmbed = { + // discourseUrl: 'https://developer.sailpoint.com/discuss/', + // topicId: 22376, + // }; + + window.DiscourseEmbed = { + discourseUrl: 'https://developer.identitysoon.com/discuss', + topicId: 627, }; const d = document.createElement('script');