add tags to kanban board
This commit is contained in:
parent
63c96a91c6
commit
b2ee2ada2c
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
*/node_modules/
|
*/node_modules/
|
||||||
*/build/
|
*/build/
|
||||||
|
|
||||||
|
**/node_modules/
|
||||||
|
**/build/
|
||||||
|
.DS_Store
|
||||||
|
.env
|
||||||
File diff suppressed because one or more lines are too long
1
frontend/json/runtimeError.json
Normal file
1
frontend/json/runtimeError.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -56,6 +56,19 @@ const KanbanCard = ({
|
|||||||
className={'w-2 h-2 text-white'}
|
className={'w-2 h-2 text-white'}
|
||||||
iconClassName={'w-5'}
|
iconClassName={'w-5'}
|
||||||
/>
|
/>
|
||||||
|
{item.tags?.length > 0 && (
|
||||||
|
<div className="mt-2 flex flex-wrap">
|
||||||
|
{item.tags.map(tag => (
|
||||||
|
<span
|
||||||
|
key={tag.id}
|
||||||
|
className="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full mr-1 mb-1"
|
||||||
|
>
|
||||||
|
{tag.name}
|
||||||
|
</span>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user