From 8a91eb62941e681b75d6c7a2eb6239008bc0f129 Mon Sep 17 00:00:00 2001
From: Sabda Yagra
Date: Thu, 26 Feb 2026 10:42:01 +0700
Subject: [PATCH] fix: href link from internal question in supervisor
---
.../communication/escalation-forward-form.tsx | 27 ++++++++++---------
.../communication/questions-reply-form.tsx | 8 ++++--
2 files changed, 20 insertions(+), 15 deletions(-)
diff --git a/components/form/communication/escalation-forward-form.tsx b/components/form/communication/escalation-forward-form.tsx
index 4e5677bd..bd924d99 100644
--- a/components/form/communication/escalation-forward-form.tsx
+++ b/components/form/communication/escalation-forward-form.tsx
@@ -105,7 +105,7 @@ export default function FormQuestionsForward() {
const [detailTickets, setDetailTickets] = useState(null);
// const [selectedPriority, setSelectedPriority] = useState("");
const [selectedPriority, setSelectedPriority] = useState(
- null
+ null,
);
const [replyMessage, setReplyMessage] = useState("");
const [selectedStatus, setSelectedStatus] = useState("");
@@ -237,7 +237,7 @@ export default function FormQuestionsForward() {
const handleChange = (
selected: MultiValue
@@ -388,7 +389,7 @@ export default function FormQuestionsForward() {
{selectedOperator.map((id) => {
const label = operatorOpt.find(
- (op: any) => op.value === id
+ (op: any) => op.value === id,
)?.label;
return (
setSelectedOperator((prev) =>
- prev.filter((val) => val !== id)
+ prev.filter((val) => val !== id),
)
}
className="ml-2 text-gray-500 hover:text-red-600"
@@ -439,7 +440,7 @@ export default function FormQuestionsForward() {
]);
} else {
setSelectedOperator((prev) =>
- prev.filter((val) => val !== op.value)
+ prev.filter((val) => val !== op.value),
);
}
}}
diff --git a/components/form/communication/questions-reply-form.tsx b/components/form/communication/questions-reply-form.tsx
index f98a8965..6da6ad27 100644
--- a/components/form/communication/questions-reply-form.tsx
+++ b/components/form/communication/questions-reply-form.tsx
@@ -107,6 +107,7 @@ export type internalDetail = {
id: number;
fullname: string;
};
+ feedUrl: string;
};
export default function FormQuestionsReply() {
@@ -493,9 +494,12 @@ export default function FormQuestionsReply() {
{detailTicketsQuestions?.commentFromUserName}
{" "}
mengirimkan komentar untuk{" "}
-
+
{detailTicketsQuestions?.feedTitle}
-
+
{`${new Date(