Revize fa93df26
Přidáno uživatelem Dominik Poch před asi 2 roky(ů)
webapp/pages/tags/index.tsx | ||
---|---|---|
17 | 17 |
import { Table } from 'antd'; |
18 | 18 |
import { tagController } from '../../controllers'; |
19 | 19 |
import Search from 'antd/lib/input/Search'; |
20 |
import { DeleteOutlined, PlusOutlined, EditOutlined } from '@ant-design/icons'; |
|
21 | 20 |
import CategoryModal, { |
22 | 21 |
CategoryModalValues, |
23 | 22 |
} from '../../components/modals/CategoryModal'; |
... | ... | |
113 | 112 |
{record.depth < 2 && ( |
114 | 113 |
<Tooltip title="Přidat potomka"> |
115 | 114 |
<Button type="primary" onClick={addChild(record)}> |
116 |
<PlusOutlined />
|
|
115 |
<FontAwesomeIcon icon={faPlus} />
|
|
117 | 116 |
</Button> |
118 | 117 |
</Tooltip> |
119 | 118 |
)} |
120 | 119 |
<Tooltip title="Upravit"> |
121 | 120 |
<Button type="text" onClick={editRecord(record)}> |
122 |
<EditOutlined />
|
|
121 |
<FontAwesomeIcon icon={faPenToSquare} />
|
|
123 | 122 |
</Button> |
124 | 123 |
</Tooltip> |
125 | 124 |
<Popconfirm |
... | ... | |
128 | 127 |
> |
129 | 128 |
<Tooltip title="Odstranit"> |
130 | 129 |
<Button type="primary" danger> |
131 |
<DeleteOutlined />
|
|
130 |
<FontAwesomeIcon icon={faTrashCan} />
|
|
132 | 131 |
</Button> |
133 | 132 |
</Tooltip> |
134 | 133 |
</Popconfirm> |
Také k dispozici: Unified diff
Icons