mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use Tag image
This commit is contained in:
parent
8da29d5a77
commit
3683447b6e
3 changed files with 12 additions and 11 deletions
|
|
@ -6,6 +6,7 @@ import {
|
|||
TagSimple,
|
||||
Trash,
|
||||
Tray,
|
||||
Tag,
|
||||
} from 'phosphor-react'
|
||||
import { ArticleAttributes } from '../../../lib/networking/queries/useGetArticleQuery'
|
||||
import { Button } from '../../elements/Button'
|
||||
|
|
@ -79,7 +80,7 @@ export function ArticleActionsMenu(
|
|||
tooltipSide={props.layout == 'side' ? 'right' : 'bottom'}
|
||||
>
|
||||
<SpanBox ref={displaySettingsButtonRef}>
|
||||
<TagSimple
|
||||
<Tag
|
||||
size={24}
|
||||
color={theme.colors.thHighContrast.toString()}
|
||||
/>
|
||||
|
|
@ -97,10 +98,7 @@ export function ArticleActionsMenu(
|
|||
},
|
||||
}}
|
||||
>
|
||||
<TagSimple
|
||||
size={24}
|
||||
color={theme.colors.thHighContrast.toString()}
|
||||
/>
|
||||
<Tag size={24} color={theme.colors.thHighContrast.toString()} />
|
||||
</Button>
|
||||
)}
|
||||
</SpanBox>
|
||||
|
|
@ -116,7 +114,7 @@ export function ArticleActionsMenu(
|
|||
},
|
||||
}}
|
||||
>
|
||||
<TagSimple size={24} color={theme.colors.thHighContrast.toString()} />
|
||||
<Tag size={24} color={theme.colors.thHighContrast.toString()} />
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ import {
|
|||
Trash,
|
||||
Tray,
|
||||
Notebook,
|
||||
Tag,
|
||||
} from 'phosphor-react'
|
||||
import { ArticleAttributes } from '../../../lib/networking/queries/useGetArticleQuery'
|
||||
import { Button } from '../../elements/Button'
|
||||
|
|
@ -45,7 +46,7 @@ export function VerticalArticleActionsMenu(
|
|||
alignItems: 'center',
|
||||
}}
|
||||
>
|
||||
<TagSimple size={24} color={theme.colors.thHighContrast.toString()} />
|
||||
<Tag size={24} color={theme.colors.thHighContrast.toString()} />
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
|
|
|
|||
|
|
@ -123,8 +123,9 @@ const CreateActionModal = (props: CreateActionModalProps): JSX.Element => {
|
|||
}
|
||||
}
|
||||
|
||||
const [actionType, setActionType] =
|
||||
useState<RuleActionType | undefined>(undefined)
|
||||
const [actionType, setActionType] = useState<RuleActionType | undefined>(
|
||||
undefined
|
||||
)
|
||||
|
||||
return (
|
||||
<Modal
|
||||
|
|
@ -191,8 +192,9 @@ export default function Rules(): JSX.Element {
|
|||
const { rules, revalidate } = useGetRulesQuery()
|
||||
const { labels } = useGetLabelsQuery()
|
||||
const [isCreateRuleModalOpen, setIsCreateRuleModalOpen] = useState(false)
|
||||
const [createActionRule, setCreateActionRule] =
|
||||
useState<Rule | undefined>(undefined)
|
||||
const [createActionRule, setCreateActionRule] = useState<Rule | undefined>(
|
||||
undefined
|
||||
)
|
||||
|
||||
const dataSource = useMemo(() => {
|
||||
return rules.map((rule: Rule) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue