1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

feat(container): container detail page as well as some icon changes [EE-3493] (#7361)

This commit is contained in:
Zhang Hao 2022-08-01 23:06:39 +08:00 committed by GitHub
parent 8843b7b0e8
commit c54bb255ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 13 deletions

View file

@ -1,5 +1,6 @@
import { Authorized } from '@/portainer/hooks/useUser';
import { EnvironmentId } from '@/portainer/environments/types';
import { Icon } from '@/react/components/Icon';
import { Table, TableContainer, TableTitle } from '@@/datatables';
import { DetailsTable } from '@@/DetailsTable';
@ -68,7 +69,7 @@ export function NetworkContainersTable({
<Button
data-cy={`networkDetails-disconnect${container.Name}`}
size="xsmall"
color="danger"
color="dangerlight"
onClick={() => {
if (container.Id) {
disconnectContainer.mutate({
@ -79,9 +80,10 @@ export function NetworkContainersTable({
}
}}
>
<i
className="fa fa-trash-alt space-right"
aria-hidden="true"
<Icon
icon="trash-2"
feather
class-name="icon-secondary icon-md"
/>
Leave Network
</Button>