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) {
|
if (res?.data !== null) {
|
||||||
const rawUser = res?.data?.data?.content;
|
const rawUser = res?.data?.data?.content;
|
||||||
// console.log("raw user", rawUser);
|
console.log("raw user", rawUser);
|
||||||
|
|
||||||
const optionArr: Option[] = rawUser.map((option: any) => ({
|
const optionArr: Option[] = rawUser.map((option: any) => ({
|
||||||
id: option?.id,
|
id: option?.id,
|
||||||
|
|
@ -310,7 +310,7 @@ export default function FormQuestionsForward() {
|
||||||
</span>
|
</span>
|
||||||
{` `}
|
{` `}
|
||||||
mengirimkan pesan untuk{` `}
|
mengirimkan pesan untuk{` `}
|
||||||
<Link
|
{/* <Link
|
||||||
// href={
|
// href={
|
||||||
// detail?.feed
|
// detail?.feed
|
||||||
// ? detail?.feed?.permalink_url == undefined
|
// ? detail?.feed?.permalink_url == undefined
|
||||||
|
|
@ -318,12 +318,25 @@ export default function FormQuestionsForward() {
|
||||||
// : detail?.feed?.permalink_url
|
// : detail?.feed?.permalink_url
|
||||||
// : ""
|
// : ""
|
||||||
// }
|
// }
|
||||||
|
// target="_blank"
|
||||||
href={detail?.feedUrl}
|
href={detail?.feedUrl}
|
||||||
|
className="font-bold"
|
||||||
|
>
|
||||||
|
{detail?.message}
|
||||||
|
</Link> */}
|
||||||
|
{detail?.feedUrl ? (
|
||||||
|
<Link
|
||||||
|
href={detail.feedUrl}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
className="font-bold"
|
className="font-bold"
|
||||||
>
|
>
|
||||||
{detail?.message}
|
{detail?.message}
|
||||||
</Link>
|
</Link>
|
||||||
|
) : (
|
||||||
|
<span className="font-bold text-gray-500">
|
||||||
|
{detail?.message}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-xs">
|
<p className="text-xs">
|
||||||
{`${new Date(detail?.createdAt).getDate()}-${
|
{`${new Date(detail?.createdAt).getDate()}-${
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue