Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#1123] Changes position and text of "All Organizations" button #1124

Merged
merged 5 commits into from
Dec 10, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/GraphQl/Queries/Queries.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import gql from 'graphql-tag';

//Query List

// Query List
// Check Auth
adi790uu marked this conversation as resolved.
Show resolved Hide resolved

export const CHECK_AUTH = gql`
Expand Down
2 changes: 1 addition & 1 deletion src/components/IconComponent/IconComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const iconComponent = (props: InterfaceIconComponent): JSX.Element => {
data-testid="Icon-Component-SettingsIcon"
/>
);
case 'All Organizations':
case 'My Organizations':
return (
<OrganizationsIcon
stroke={props.fill}
Expand Down
2 changes: 1 addition & 1 deletion src/state/reducers/routesReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export type TargetsType = {

// Note: Routes with names appear on NavBar
const components: ComponentType[] = [
{ name: 'My Organizations', comp_id: 'orglist', component: 'OrgList' },
{ name: 'Dashboard', comp_id: 'orgdash', component: 'OrganizationDashboard' },
{ name: 'People', comp_id: 'orgpeople', component: 'OrganizationPeople' },
{ name: 'Events', comp_id: 'orgevents', component: 'OrganizationEvents' },
Expand All @@ -84,7 +85,6 @@ const components: ComponentType[] = [
},

{ name: 'Settings', comp_id: 'orgsetting', component: 'OrgSettings' },
{ name: 'All Organizations', comp_id: 'orglist', component: 'OrgList' },
{ name: '', comp_id: 'member', component: 'MemberDetail' },
];

Expand Down
Loading