This commit is contained in:
Sabda Yagra 2025-09-03 22:11:27 +07:00
parent e873af1f56
commit a11257ef4e
2 changed files with 13 additions and 15 deletions

View File

@ -272,6 +272,17 @@ const TaskTaTable = () => {
hidden hidden
/> />
<div className="flex mb-6"> <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 <button
onClick={() => setActiveTab("ta")} onClick={() => setActiveTab("ta")}
className={`px-4 py-1 rounded transition ${ className={`px-4 py-1 rounded transition ${
@ -293,19 +304,6 @@ const TaskTaTable = () => {
> >
{t("daily-tasks", { defaultValue: "Daily Tasks" })} {t("daily-tasks", { defaultValue: "Daily Tasks" })}
</button> </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> </div>
{/* <span {/* <span

View File

@ -1124,7 +1124,7 @@ export default function FormTaskDetail() {
className="object-fill h-full w-full rounded-md" className="object-fill h-full w-full rounded-md"
src={selectedVideo} src={selectedVideo}
controls controls
title={`Video`} // Mengganti alt dengan title title={`Video`}
/> />
</Card> </Card>
)} )}
@ -1165,7 +1165,7 @@ export default function FormTaskDetail() {
{imageUploadedFiles?.length > 0 && ( {imageUploadedFiles?.length > 0 && (
<Label>{t("image", { defaultValue: "Image" })}</Label> <Label>{t("image", { defaultValue: "Image" })}</Label>
)} )}
<div> <div className="dark:border dark:border-gray-500">
{selectedImage && ( {selectedImage && (
<Card className="mt-2"> <Card className="mt-2">
<img <img