Fix: Update Icon Button Color and Menu Transparency with Icons (#4704)
Fixes: #4654
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
import styled from '@emotion/styled';
|
import styled from '@emotion/styled';
|
||||||
import { useRecoilState, useRecoilValue } from 'recoil';
|
import { useRecoilState, useRecoilValue } from 'recoil';
|
||||||
import { Key } from 'ts-key-enum';
|
import { Key } from 'ts-key-enum';
|
||||||
import { IconChevronLeft, IconX } from 'twenty-ui';
|
import { IconChevronLeft, IconLayoutKanban, IconTable, IconX } from 'twenty-ui';
|
||||||
|
|
||||||
import { IconPicker } from '@/ui/input/components/IconPicker';
|
import { IconPicker } from '@/ui/input/components/IconPicker';
|
||||||
import { Select } from '@/ui/input/components/Select';
|
import { Select } from '@/ui/input/components/Select';
|
||||||
@ -141,8 +141,12 @@ export const ViewPickerCreateOrEditContent = () => {
|
|||||||
value={viewPickerType}
|
value={viewPickerType}
|
||||||
onChange={(value) => setViewPickerType(value)}
|
onChange={(value) => setViewPickerType(value)}
|
||||||
options={[
|
options={[
|
||||||
{ value: ViewType.Table, label: 'Table' },
|
{ value: ViewType.Table, label: 'Table', Icon: IconTable },
|
||||||
{ value: ViewType.Kanban, label: 'Kanban' },
|
{
|
||||||
|
value: ViewType.Kanban,
|
||||||
|
label: 'Kanban',
|
||||||
|
Icon: IconLayoutKanban,
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
dropdownId={VIEW_PICKER_VIEW_TYPE_DROPDOWN_ID}
|
dropdownId={VIEW_PICKER_VIEW_TYPE_DROPDOWN_ID}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user