Skip to content

Commit

Permalink
fix: one way link icon (#3)
Browse files Browse the repository at this point in the history
* fix: one way link icon

* fix: update npm version
  • Loading branch information
wangkailang committed Nov 1, 2023
1 parent c2e9132 commit b327f96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.1.6",
"version": "1.2.0",
"description": "my apitable widget chart",
"engines": {
"node": ">=8.x"
Expand Down
4 changes: 4 additions & 0 deletions src/form_components/field_select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ import {
ColumnLookupFilled,
ColumnRatingFilled,
CascadeOutlined,
OneWayLinkOutlined,
TwoWayLinkOutlined
} from '@apitable/icons';
import styled from 'styled-components';
import { Strings } from '../i18n';
Expand All @@ -39,6 +41,8 @@ const FieldIconMap = {
[FieldType.MultiSelect]: ColumnMultipleFilled,
[FieldType.DateTime]: ColumnCalendarFilled, // FIXME: icon there is a problem with the naming.
[FieldType.Attachment]: ColumnAttachmentFilled,
[FieldType.OneWayLink]: OneWayLinkOutlined,
[FieldType.TwoWayLink]: TwoWayLinkOutlined,
[FieldType.MagicLink]: ColumnLinktableFilled, // ?
[FieldType.URL]: ColumnUrlOutlined,
[FieldType.Email]: ColumnEmailFilled,
Expand Down

0 comments on commit b327f96

Please sign in to comment.