feat: support set global Default memo visibility (#3989)

* feat: support set global Default memo visibility

* feat: Move to WorkspaceMemoRelatedSetting

* fix: goimports check failure

* chore: change item name to default_visibility

* fix: goimports check failure
This commit is contained in:
wjsoj
2024-10-08 22:45:18 +08:00
committed by GitHub
parent dc15e8f30f
commit 1f9d657065
8 changed files with 146 additions and 73 deletions

View File

@ -232,6 +232,7 @@ func convertWorkspaceMemoRelatedSettingFromStore(setting *storepb.WorkspaceMemoR
EnableLinkPreview: setting.EnableLinkPreview,
EnableComment: setting.EnableComment,
EnableLocation: setting.EnableLocation,
DefaultVisibility: setting.DefaultVisibility,
}
}
@ -248,5 +249,6 @@ func convertWorkspaceMemoRelatedSettingToStore(setting *v1pb.WorkspaceMemoRelate
EnableLinkPreview: setting.EnableLinkPreview,
EnableComment: setting.EnableComment,
EnableLocation: setting.EnableLocation,
DefaultVisibility: setting.DefaultVisibility,
}
}