diff --git a/packages/web/components/templates/article/ArticleActionsMenu.tsx b/packages/web/components/templates/article/ArticleActionsMenu.tsx index 195f176ff..21ca539e9 100644 --- a/packages/web/components/templates/article/ArticleActionsMenu.tsx +++ b/packages/web/components/templates/article/ArticleActionsMenu.tsx @@ -20,6 +20,7 @@ import { useReaderSettings } from '../../../lib/hooks/useReaderSettings' import { useRef } from 'react' import { setLabelsMutation } from '../../../lib/networking/mutations/setLabelsMutation' import { Label } from '../../../lib/networking/fragments/labelFragment' +import { SetLabelsModal } from './SetLabelsModal' export type ArticleActionsMenuLayout = 'top' | 'side' @@ -102,12 +103,7 @@ export function ArticleActionsMenu( tooltipContent="Adjust Display Settings" tooltipSide={props.layout == 'side' ? 'right' : 'bottom'} > - - - + @@ -122,37 +118,56 @@ export function ArticleActionsMenu( }} > {props.article ? ( - + + + ) : ( + // + // + // + // } + // > + // { + // if (props.article?.id) { + // return setLabelsMutation( + // props.article?.id, + // labels.map((label) => label.id) + // ) + // } + // return Promise.resolve(undefined) + // }} + // onLabelsChanged={(labels) => { + // props.articleActionHandler('refreshLabels', labels) + // }} + // /> + //