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, },