Skip to content

Commit

Permalink
Refactored Description to Title (#1091)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellhaaland committed Aug 29, 2024
1 parent 485ac9c commit d2e9204
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions libs/handoversidesheet/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export type HandoverSWCR = {
softwareChangeRecordUrl: string;
status: string;
description: string;
title: string;
priority: string;
} & HandoverChild;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export const columns: ColDef<SwcrBase>[] = [
},
},
{
colId: 'description',
headerName: 'Description',
valueGetter: (pkg) => pkg.data?.description,
colId: 'title',
headerName: 'Title',
valueGetter: (pkg) => pkg.data?.title,
cellRenderer: (props: ICellRendererProps<SwcrBase>) => (
<DescriptionCell description={props.value} />
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export type SwcrBase = {
softwareChangeRecordUrl: string;
softwareChangeRecordId: string;
description: string;
title: string;
priority: string;
status: string;
};

0 comments on commit d2e9204

Please sign in to comment.