Add: link to tag on fileinfo page
This commit is contained in:
@@ -233,7 +233,13 @@ function FileInfo(props) {
|
|||||||
{tagsOnFile.map((tag) => {
|
{tagsOnFile.map((tag) => {
|
||||||
return (
|
return (
|
||||||
<li key={tag.id}>
|
<li key={tag.id}>
|
||||||
<button>{tag.name}</button>
|
<button
|
||||||
|
onClick={() => {
|
||||||
|
navigate(`/manage/tags/${tag.id}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{tag.name}
|
||||||
|
</button>
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
removeTagOnFile(tag.id);
|
removeTagOnFile(tag.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user