Skip to content

Commit

Permalink
also fix it for the inline annotatoinEdit modal
Browse files Browse the repository at this point in the history
  • Loading branch information
blackforestboi committed May 11, 2024
1 parent 4043c80 commit b9edf73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/in-page-ui/tooltip/content_script/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
TypedRemoteEventEmitter,
getRemoteEventEmitter,
} from 'src/util/webextensionRPC'
import { AnnotationPrivacyLevels } from '@worldbrain/memex-common/lib/annotations/types'

interface TooltipRootProps {
mount: InPageUIRootMount
Expand Down Expand Up @@ -179,6 +180,7 @@ class TooltipRoot extends React.Component<TooltipRootProps, TooltipRootState> {
this.props.annotationsCache.updateAnnotation({
...currentAnnotation,
unifiedListIds: updatedUnifiedListIdLists,
privacyLevel: AnnotationPrivacyLevels.PROTECTED,
})

this.props.contentSharingBG.shareAnnotationToSomeLists({
Expand Down

0 comments on commit b9edf73

Please sign in to comment.