fixing
This commit is contained in:
parent
e873af1f56
commit
a11257ef4e
|
|
@ -272,6 +272,17 @@ const TaskTaTable = () => {
|
|||
hidden
|
||||
/>
|
||||
<div className="flex mb-6">
|
||||
<button
|
||||
onClick={() => setActiveTab("special")}
|
||||
className={`px-4 py-1 rounded transition ${
|
||||
activeTab === "special"
|
||||
? "bg-default-900 text-white"
|
||||
: "border dark:text-default-700"
|
||||
}`}
|
||||
>
|
||||
{/* {t("special-attention", {defaultValue: "Special Attention", })} */}
|
||||
Atensi Khusus Mabes
|
||||
</button>
|
||||
<button
|
||||
onClick={() => setActiveTab("ta")}
|
||||
className={`px-4 py-1 rounded transition ${
|
||||
|
|
@ -293,19 +304,6 @@ const TaskTaTable = () => {
|
|||
>
|
||||
{t("daily-tasks", { defaultValue: "Daily Tasks" })}
|
||||
</button>
|
||||
|
||||
<button
|
||||
onClick={() => setActiveTab("special")}
|
||||
className={`px-4 py-1 rounded transition ${
|
||||
activeTab === "special"
|
||||
? "bg-default-900 text-white"
|
||||
: "border dark:text-default-700"
|
||||
}`}
|
||||
>
|
||||
{t("special-attention", {
|
||||
defaultValue: "Special Attention",
|
||||
})}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* <span
|
||||
|
|
|
|||
|
|
@ -1124,7 +1124,7 @@ export default function FormTaskDetail() {
|
|||
className="object-fill h-full w-full rounded-md"
|
||||
src={selectedVideo}
|
||||
controls
|
||||
title={`Video`} // Mengganti alt dengan title
|
||||
title={`Video`}
|
||||
/>
|
||||
</Card>
|
||||
)}
|
||||
|
|
@ -1165,7 +1165,7 @@ export default function FormTaskDetail() {
|
|||
{imageUploadedFiles?.length > 0 && (
|
||||
<Label>{t("image", { defaultValue: "Image" })}</Label>
|
||||
)}
|
||||
<div>
|
||||
<div className="dark:border dark:border-gray-500">
|
||||
{selectedImage && (
|
||||
<Card className="mt-2">
|
||||
<img
|
||||
|
|
|
|||
Loading…
Reference in New Issue