1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-25 06:24:19 +00:00

🔧 Improve repository visualization

This commit is contained in:
Stefano Pigozzi 2021-05-12 04:22:43 +02:00
parent 460da4fadd
commit 9c71ec422f
Signed by untrusted user who does not match committer: steffo
GPG key ID: 6965406171929D01
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
import React, { useContext } from "react" import React, { useContext } from "react"
import BoxFull from "../base/BoxFull" import BoxFull from "../base/BoxFull"
import SummaryRepository from "./SummaryRepository" import SummaryRepository from "./SummaryRepository"
import { faSearch } from "@fortawesome/free-solid-svg-icons" import { faFolderOpen } from "@fortawesome/free-solid-svg-icons"
import ContextUser from "../../contexts/ContextUser" import ContextUser from "../../contexts/ContextUser"
@ -23,7 +23,7 @@ export default function BoxRepositoriesActive({ repositories, refresh, ...props
<SummaryRepository <SummaryRepository
key={repo["id"]} key={repo["id"]}
repo={repo} repo={repo}
icon={faSearch} icon={faFolderOpen}
refresh={refresh} refresh={refresh}
canArchive={true} canArchive={true}
canEdit={true} canEdit={true}

View file

@ -2,7 +2,7 @@ import React, { useContext } from "react"
import BoxFull from "../base/BoxFull" import BoxFull from "../base/BoxFull"
import ContextUser from "../../contexts/ContextUser" import ContextUser from "../../contexts/ContextUser"
import SummaryRepository from "./SummaryRepository" import SummaryRepository from "./SummaryRepository"
import { faSearch } from "@fortawesome/free-solid-svg-icons" import { faFolder } from "@fortawesome/free-solid-svg-icons"
/** /**
@ -23,7 +23,7 @@ export default function BoxRepositoriesArchived({ repositories, refresh, ...prop
<SummaryRepository <SummaryRepository
key={repo["id"]} key={repo["id"]}
repo={repo} repo={repo}
icon={faSearch} icon={faFolder}
refresh={refresh} refresh={refresh}
canArchive={false} canArchive={false}
canEdit={false} canEdit={false}