mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-25 14:34:19 +00:00
🔧 Improve repository visualization
This commit is contained in:
parent
460da4fadd
commit
9c71ec422f
2 changed files with 4 additions and 4 deletions
|
@ -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}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue