From fca6b765642abc1b9ae658bebebeeb9cd1491b32 Mon Sep 17 00:00:00 2001 From: 710lucas Date: Fri, 15 Dec 2023 22:39:37 -0300 Subject: [PATCH] =?UTF-8?q?Ajustando=20p=C3=A1gina=20de=20feed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Group/GroupTabs/GroupFeed/GroupFeed.tsx | 8 ++++---- src/pages/Group/GroupTabs/GroupTabs.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/Group/GroupTabs/GroupFeed/GroupFeed.tsx b/src/pages/Group/GroupTabs/GroupFeed/GroupFeed.tsx index 7125f49c..ed52b24d 100644 --- a/src/pages/Group/GroupTabs/GroupFeed/GroupFeed.tsx +++ b/src/pages/Group/GroupTabs/GroupFeed/GroupFeed.tsx @@ -25,7 +25,7 @@ export function GroupFeed(){
- + { groupContext.participants.some(p => p.id == groupContext.loggedData.profile.id) ? @@ -45,18 +45,18 @@ export function GroupFeed(){ groupContext.editPost !== undefined ? ().addValidation(new RequiredValidation()).addValidation(new TextValidation()) + DTOName: "content", label: "Publicação", type: FormInputs.LONG_TEXT, validation: new ValidationComposite().addValidation(new RequiredValidation()).addValidation(new TextValidation()) } ]} requisition={groupContext.editPost ? UniversimeApi.Feed.createGroupPost : UniversimeApi.Feed.createGroupPost} - callback={groupContext.refreshData} + callback={() =>{groupContext.refreshData()}} /> : <> diff --git a/src/pages/Group/GroupTabs/GroupTabs.tsx b/src/pages/Group/GroupTabs/GroupTabs.tsx index dde93bb2..13559fab 100644 --- a/src/pages/Group/GroupTabs/GroupTabs.tsx +++ b/src/pages/Group/GroupTabs/GroupTabs.tsx @@ -90,7 +90,7 @@ export const EMPTY_LIST_CLASS = "empty-text"; const TABS: GroupTabDefinition[] = [ { - name: 'Feed', + name: 'Publicações', value: 'feed', renderer: GroupFeed, },