Group Description: Render newlines, view button in change notification
This commit is contained in:
parent
15678efb4d
commit
3956443f50
6 changed files with 93 additions and 28 deletions
|
@ -181,6 +181,8 @@ export type GroupV2AdminApprovalRemoveOneChangeType = {
|
|||
export type GroupV2DescriptionChangeType = {
|
||||
type: 'description';
|
||||
removed?: boolean;
|
||||
// Adding this field; cannot remove previous field for backwards compatibility
|
||||
description?: string;
|
||||
};
|
||||
|
||||
export type GroupV2ChangeDetailType =
|
||||
|
@ -3654,6 +3656,7 @@ function extractDiffs({
|
|||
details.push({
|
||||
type: 'description',
|
||||
removed: !current.description,
|
||||
description: current.description,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue