Skip to content

Commit

Permalink
Fix for 2.8 in #1267
Browse files Browse the repository at this point in the history
  • Loading branch information
olemp committed Sep 22, 2023
1 parent a2061ac commit 3e9fba5
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,18 @@ export const ProjectInformationColumn: ColumnRenderComponent<IProjectInformation
props
) => {
const context = useContext(ListContext)
const siteContext = SiteContext.create(
context.props.webPartContext,
props.item.SiteId,
props.item.Path
)
return (
<ProjectInformationPanel
{...siteContext}
title={props.columnValue}
{...SiteContext.create(
context.props.webPartContext,
props.item.SiteId,
props.item.SPWebURL
)}
page={props.page}
hideAllActions={true}
panelProps={{
headerText: props.columnValue
}}
onRenderToggleElement={(onToggle) => (
<Tooltip
content={<>{strings.ProjectInformationPanelButton}</>}
Expand Down

0 comments on commit 3e9fba5

Please sign in to comment.