1
0
Fork 0

chore(lab): Renamed xray clear to reset

This commit is contained in:
Joost De Cock 2022-01-29 14:54:22 +01:00
parent 62c5c24a35
commit 9e2babfc7b
3 changed files with 40 additions and 53 deletions

View file

@ -1,6 +1,6 @@
import XrayIcon from 'shared/components/icons/xray.js'
import { linkClasses, Chevron } from 'shared/components/navigation/primary.js'
import Clear from './clear.js'
import Reset from './reset.js'
import Disable from './disable.js'
import List from './list.js'
@ -43,7 +43,7 @@ const Xray = props => {
{props.gist?.xray?.enabled && (
<ul className="pl-5 list-inside">
<Disable {...props} />
<Clear {...props} />
<Reset {...props} />
{
props.gist?.xray?.parts &&
Object.keys(props.gist.xray.parts).map(partName => <List {...props} partName={partName} />)