fix: fixing page escalation forward form
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4e7c9bb097
commit
c32223e4a2
|
|
@ -262,7 +262,7 @@ export default function FormQuestionsForward() {
|
|||
|
||||
if (res?.data !== null) {
|
||||
const rawUser = res?.data?.data?.content;
|
||||
// console.log("raw user", rawUser);
|
||||
console.log("raw user", rawUser);
|
||||
|
||||
const optionArr: Option[] = rawUser.map((option: any) => ({
|
||||
id: option?.id,
|
||||
|
|
@ -310,7 +310,7 @@ export default function FormQuestionsForward() {
|
|||
</span>
|
||||
{` `}
|
||||
mengirimkan pesan untuk{` `}
|
||||
<Link
|
||||
{/* <Link
|
||||
// href={
|
||||
// detail?.feed
|
||||
// ? detail?.feed?.permalink_url == undefined
|
||||
|
|
@ -318,12 +318,25 @@ export default function FormQuestionsForward() {
|
|||
// : detail?.feed?.permalink_url
|
||||
// : ""
|
||||
// }
|
||||
// target="_blank"
|
||||
href={detail?.feedUrl}
|
||||
className="font-bold"
|
||||
>
|
||||
{detail?.message}
|
||||
</Link> */}
|
||||
{detail?.feedUrl ? (
|
||||
<Link
|
||||
href={detail.feedUrl}
|
||||
target="_blank"
|
||||
className="font-bold"
|
||||
>
|
||||
{detail?.message}
|
||||
</Link>
|
||||
) : (
|
||||
<span className="font-bold text-gray-500">
|
||||
{detail?.message}
|
||||
</span>
|
||||
)}
|
||||
</p>
|
||||
<p className="text-xs">
|
||||
{`${new Date(detail?.createdAt).getDate()}-${
|
||||
|
|
|
|||
Loading…
Reference in New Issue