diff --git a/CHANGELOG.md b/CHANGELOG.md index 670a7de..87095f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Changed - update translations (https://github.com/ohmyform/ui/pull/70) +- show warning icon in form list if not public ### Fixed diff --git a/pages/admin/forms/index.tsx b/pages/admin/forms/index.tsx index 72b25b0..8d77d99 100644 --- a/pages/admin/forms/index.tsx +++ b/pages/admin/forms/index.tsx @@ -3,6 +3,7 @@ import { EditOutlined, GlobalOutlined, UnorderedListOutlined, + WarningOutlined, } from '@ant-design/icons/lib' import { Button, message, Popconfirm, Space, Table, Tag, Tooltip } from 'antd' import { PaginationProps } from 'antd/es/pagination' @@ -149,11 +150,21 @@ const Index: NextPage = () => { - + {row.isLive && ( - + )} + + {!row.isLive && ( + + + + )} + + ) },