diff --git a/apps/web/app/[locale]/kanban/page.tsx b/apps/web/app/[locale]/kanban/page.tsx index f4cf38ee6..8f74dc660 100644 --- a/apps/web/app/[locale]/kanban/page.tsx +++ b/apps/web/app/[locale]/kanban/page.tsx @@ -121,17 +121,17 @@ const Kanban = () => { } > -
-
+
+
-
+
-
-

+
+

{t('common.KANBAN')} {t('common.BOARD')}

@@ -156,16 +156,17 @@ const Kanban = () => {
-
+
{tabs.map((tab) => (
setActiveTab(tab.value)} - className={`cursor-pointer pt-2.5 px-5 pb-[30px] text-base font-semibold ${activeTab === tab.value - ? 'border-b-[#3826A6] text-[#3826A6] dark:text-white dark:border-b-white' - : 'border-b-white dark:border-b-[#191A20] dark:text-white text-[#282048]' - }`} + className={`cursor-pointer pt-2.5 px-5 pb-[30px] text-base font-semibold ${ + activeTab === tab.value + ? 'border-b-[#3826A6] text-[#3826A6] dark:text-white dark:border-b-white' + : 'border-b-white dark:border-b-[#191A20] dark:text-white text-[#282048]' + }`} style={{ borderBottomWidth: '3px', borderBottomStyle: 'solid' @@ -175,7 +176,7 @@ const Kanban = () => {
))}
-
+
setEpics(values || [])} @@ -183,49 +184,48 @@ const Kanban = () => { multiple={true} />
- {/*
*/} -
-
- -
- {issues.icon ?? } +
+
+
+
+
+ {issues?.icon ?? } +
+ {issues?.name ?? 'Issues'}
-

{issues.name}

- - {issues.value && ( -
- setIssues({ - name: 'Issues', - icon: null, - bgColor: '', - value: '' - }) - } - className="w-5 h-5 z-10 p-0.5 cursor-pointer" - > - -
- )} -
+ {issues?.value && ( + + )} +
- { - setIssues(items.find((v) => v.name == e) as TStatusItem); - }} - issueType="issue" - /> + + setIssues(items.find((v) => v.name === e) as TStatusItem) + } + issueType="issue" + /> +
- {/*
*/}
setLabels(values || [])} @@ -260,11 +260,10 @@ const Kanban = () => { > {/** TODO:fetch teamtask based on days */} -
{activeTab && (Object.keys(data).length > 0 ? ( - + ) : ( @@ -274,7 +273,7 @@ const Kanban = () => {
))}
- + );