Add: link to tag on fileinfo page

This commit is contained in:
2021-12-16 22:33:32 +08:00
parent 027aef4070
commit 7188e73783

View File

@@ -233,7 +233,13 @@ function FileInfo(props) {
{tagsOnFile.map((tag) => {
return (
<li key={tag.id}>
<button>{tag.name}</button>
<button
onClick={() => {
navigate(`/manage/tags/${tag.id}`);
}}
>
{tag.name}
</button>
<button
onClick={() => {
removeTagOnFile(tag.id);