Skip to content

Commit

Permalink
fix: change subscribe buttons view
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorGoryany committed Aug 22, 2024
1 parent bd55288 commit 2cbdaa2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/GroupedGoalList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ export const GroupedGoalList: React.FC<GroupedGoalListProps> = ({ filterPreset }
return (
<ListView onKeyboardClick={handleItemEnter}>
{projectsOnScreen.map((project) => (
<ProjectListItemConnected key={project.id} project={project} filterPreset={filterPreset} />
<ProjectListItemConnected
key={project.id}
project={project}
filterPreset={filterPreset}
actionButtonView="icons"
/>
))}

{nullable(hasNextPage, () => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export const ProjectListItemConnected: FC<ProjectListItemConnectedProps> = ({
parent={project}
filterPreset={filterPreset}
titleSize={isKanbanView ? 'l' : 'm'}
actionButtonView={isKanbanView ? 'default' : 'icons'}
/>
)),
[childrenProjects, isKanbanView, filterPreset, project],
Expand Down

0 comments on commit 2cbdaa2

Please sign in to comment.