|
|
@@ -188,13 +188,13 @@ export const SimpleItem: FC<SimpleItemProps> = (props) => {
|
|
|
<li
|
|
|
ref={itemRef}
|
|
|
role="button"
|
|
|
- className={`list-group-item list-group-item-action rounded border-0 py-0 pr-3 d-flex align-items-center row
|
|
|
+ className={`list-group-item list-group-item-action rounded border-0 py-0 pr-3 d-flex align-items-center
|
|
|
${page.isTarget ? 'grw-pagetree-current-page-item' : ''}`}
|
|
|
id={page.isTarget ? 'grw-pagetree-current-page-item' : `grw-pagetree-list-${page._id}`}
|
|
|
onClick={itemClickHandler}
|
|
|
>
|
|
|
|
|
|
- <div className="grw-triangle-container d-flex justify-content-center col-2">
|
|
|
+ <div className="grw-triangle-container d-flex justify-content-center">
|
|
|
{hasDescendants && (
|
|
|
<button
|
|
|
type="button"
|
|
|
@@ -210,12 +210,17 @@ export const SimpleItem: FC<SimpleItemProps> = (props) => {
|
|
|
|
|
|
<SimpleItemContent page={page} />
|
|
|
|
|
|
- <div className="col-2 d-flex">
|
|
|
+ {/* <div className="col-2 d-flex">
|
|
|
{EndComponents.map((EndComponent, index) => (
|
|
|
// eslint-disable-next-line react/no-array-index-key
|
|
|
<EndComponent key={index} {...toolProps} />
|
|
|
))}
|
|
|
- </div>
|
|
|
+ </div> */}
|
|
|
+
|
|
|
+ {EndComponents.map((EndComponent, index) => (
|
|
|
+ // eslint-disable-next-line react/no-array-index-key
|
|
|
+ <EndComponent key={index} {...toolProps} />
|
|
|
+ ))}
|
|
|
|
|
|
</li>
|
|
|
|