[Glitch] Change filtered icon from “archive” to “inventory 2”
Port ffc5be4820
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
8b3bd12def
commit
da2bb672ce
|
@ -6,8 +6,7 @@ import { Link } from 'react-router-dom';
|
||||||
|
|
||||||
import { useDispatch, useSelector } from 'react-redux';
|
import { useDispatch, useSelector } from 'react-redux';
|
||||||
|
|
||||||
|
import InventoryIcon from '@/material-icons/400-24px/inventory_2.svg?react';
|
||||||
import ArchiveIcon from '@/material-icons/400-24px/archive.svg?react';
|
|
||||||
import { fetchNotificationPolicy } from 'flavours/glitch/actions/notifications';
|
import { fetchNotificationPolicy } from 'flavours/glitch/actions/notifications';
|
||||||
import { Icon } from 'flavours/glitch/components/icon';
|
import { Icon } from 'flavours/glitch/components/icon';
|
||||||
import { toCappedNumber } from 'flavours/glitch/utils/numbers';
|
import { toCappedNumber } from 'flavours/glitch/utils/numbers';
|
||||||
|
@ -34,7 +33,7 @@ export const FilteredNotificationsBanner = () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link className='filtered-notifications-banner' to='/notifications/requests'>
|
<Link className='filtered-notifications-banner' to='/notifications/requests'>
|
||||||
<Icon icon={ArchiveIcon} />
|
<Icon icon={InventoryIcon} />
|
||||||
|
|
||||||
<div className='filtered-notifications-banner__text'>
|
<div className='filtered-notifications-banner__text'>
|
||||||
<strong><FormattedMessage id='filtered_notifications_banner.title' defaultMessage='Filtered notifications' /></strong>
|
<strong><FormattedMessage id='filtered_notifications_banner.title' defaultMessage='Filtered notifications' /></strong>
|
||||||
|
|
|
@ -7,8 +7,8 @@ import { Helmet } from 'react-helmet';
|
||||||
|
|
||||||
import { useSelector, useDispatch } from 'react-redux';
|
import { useSelector, useDispatch } from 'react-redux';
|
||||||
|
|
||||||
import ArchiveIcon from '@/material-icons/400-24px/archive.svg?react';
|
|
||||||
import DoneIcon from '@/material-icons/400-24px/done.svg?react';
|
import DoneIcon from '@/material-icons/400-24px/done.svg?react';
|
||||||
|
import InventoryIcon from '@/material-icons/400-24px/inventory_2.svg?react';
|
||||||
import VolumeOffIcon from '@/material-icons/400-24px/volume_off.svg?react';
|
import VolumeOffIcon from '@/material-icons/400-24px/volume_off.svg?react';
|
||||||
import { fetchNotificationRequest, fetchNotificationsForRequest, expandNotificationsForRequest, acceptNotificationRequest, dismissNotificationRequest } from 'flavours/glitch/actions/notifications';
|
import { fetchNotificationRequest, fetchNotificationsForRequest, expandNotificationsForRequest, acceptNotificationRequest, dismissNotificationRequest } from 'flavours/glitch/actions/notifications';
|
||||||
import Column from 'flavours/glitch/components/column';
|
import Column from 'flavours/glitch/components/column';
|
||||||
|
@ -94,7 +94,7 @@ export const NotificationRequest = ({ multiColumn, params: { id } }) => {
|
||||||
<Column bindToDocument={!multiColumn} ref={columnRef} label={columnTitle}>
|
<Column bindToDocument={!multiColumn} ref={columnRef} label={columnTitle}>
|
||||||
<ColumnHeader
|
<ColumnHeader
|
||||||
icon='archive'
|
icon='archive'
|
||||||
iconComponent={ArchiveIcon}
|
iconComponent={InventoryIcon}
|
||||||
title={columnTitle}
|
title={columnTitle}
|
||||||
onClick={handleHeaderClick}
|
onClick={handleHeaderClick}
|
||||||
multiColumn={multiColumn}
|
multiColumn={multiColumn}
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { Helmet } from 'react-helmet';
|
||||||
|
|
||||||
import { useSelector, useDispatch } from 'react-redux';
|
import { useSelector, useDispatch } from 'react-redux';
|
||||||
|
|
||||||
import ArchiveIcon from '@/material-icons/400-24px/archive.svg?react';
|
import InventoryIcon from '@/material-icons/400-24px/inventory_2.svg?react';
|
||||||
import { fetchNotificationRequests, expandNotificationRequests } from 'flavours/glitch/actions/notifications';
|
import { fetchNotificationRequests, expandNotificationRequests } from 'flavours/glitch/actions/notifications';
|
||||||
import Column from 'flavours/glitch/components/column';
|
import Column from 'flavours/glitch/components/column';
|
||||||
import ColumnHeader from 'flavours/glitch/components/column_header';
|
import ColumnHeader from 'flavours/glitch/components/column_header';
|
||||||
|
@ -43,7 +43,7 @@ export const NotificationRequests = ({ multiColumn }) => {
|
||||||
<Column bindToDocument={!multiColumn} ref={columnRef} label={intl.formatMessage(messages.title)}>
|
<Column bindToDocument={!multiColumn} ref={columnRef} label={intl.formatMessage(messages.title)}>
|
||||||
<ColumnHeader
|
<ColumnHeader
|
||||||
icon='archive'
|
icon='archive'
|
||||||
iconComponent={ArchiveIcon}
|
iconComponent={InventoryIcon}
|
||||||
title={intl.formatMessage(messages.title)}
|
title={intl.formatMessage(messages.title)}
|
||||||
onClick={handleHeaderClick}
|
onClick={handleHeaderClick}
|
||||||
multiColumn={multiColumn}
|
multiColumn={multiColumn}
|
||||||
|
|
Loading…
Reference in New Issue