Skip to content

Commit

Permalink
Merge pull request #167 from cabcookie:improve-person-mention
Browse files Browse the repository at this point in the history
fix: allows adding projects on activity detail page again
  • Loading branch information
cabcookie authored Aug 7, 2024
2 parents ea76e06 + 8ad04d6 commit 671b4e1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions components/activities/activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import LoadingAccordionItem from "../ui-elements/accordion/LoadingAccordionItem"
import ProjectNotesForm from "../ui-elements/project-notes-form/project-notes-form";
import SavedState from "../ui-elements/project-notes-form/saved-state";
import DateSelector from "../ui-elements/selectors/date-selector";
import ProjectSelector from "../ui-elements/selectors/project-selector";
import { Accordion } from "../ui/accordion";
import {
Tooltip,
Expand Down Expand Up @@ -157,6 +158,14 @@ const ActivityComponent: FC<ActivityComponentProps> = ({

<div className="space-y-0">
{showMeeting && <h3 className="font-semibold">Projects:</h3>}
{allowAddingProjects && (
<ProjectSelector
value=""
onChange={addProjectToActivity}
allowCreateProjects
placeholder="Add project…"
/>
)}
<ProjectNotesForm
activityId={activityId}
deleteActivity={() => deleteMeetingActivity(activityId)}
Expand Down
4 changes: 3 additions & 1 deletion docs/releases/next.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Zeige Anzahl der Partner CRM Projekte (Version :VERSION)
# Fehlerbehebungen auf Aktivität-Deteilseite (Version :VERSION)

- Projekte können nun wieder hinzugefügt werden.

0 comments on commit 671b4e1

Please sign in to comment.