Skip to content

Commit

Permalink
(ajustement) Populate seulement le nom et l'avatar pour org.
Browse files Browse the repository at this point in the history
(ajsutement) ajout du console log dans l'App pour voir la valeur d'org qu'on reçoit.
  • Loading branch information
mamarmite committed Sep 9, 2024
1 parent af6aa6e commit ce75f2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/DataTypes/Meta/components/SingleEntityMeta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import SingleInfo from "@/DataTypes/common/layouts/SingleInfo/SingleInfo";
import {lang} from "@/common/Data/GlobalConstants";
import DateWidget from "@/common/widgets/DateWidget/DateWidget";
import React from "react";
Expand Down Expand Up @@ -33,7 +32,7 @@ export const SingleEntityMeta = (props) => {
</li>*/
}
{
(meta?.requestedBy?.username || createdAt) &&
(meta?.requestedBy?.name || createdAt) &&
<li>
<span>{lang.created}</span>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const OrganisationSingleView = ({ data }) => {
}
</>
)

console.log("ORG footer, metas", meta);
const Footer = (
<>
{
Expand All @@ -279,7 +279,6 @@ const OrganisationSingleView = ({ data }) => {
title={lang.entityMetadata}
className="border-top pt-3"
>
{/*********** Entity data ***********/}
<SingleEntityMeta createdAt={createdAt} updatedAt={updatedAt} meta={meta} />
</SingleInfo>
}
Expand Down

0 comments on commit ce75f2d

Please sign in to comment.