refactor(environments): move environments ts code to react [EE-3443] (#7747)

This commit is contained in:
Chaim Lev-Ari
2022-10-23 09:53:25 +03:00
committed by GitHub
parent 1b12cc9f31
commit e48ceb15e9
154 changed files with 195 additions and 179 deletions
@@ -1,6 +1,6 @@
import { useRouter } from '@uirouter/react';
import type { Environment } from '@/portainer/environments/types';
import type { Environment } from '@/react/portainer/environments/types';
import {
confirmAsync,
confirmDestructiveAsync,
@@ -8,7 +8,7 @@ import {
import { promptAsync } from '@/portainer/services/modal.service/prompt';
import * as notifications from '@/portainer/services/notifications';
import { activateDevice } from '@/portainer/hostmanagement/open-amt/open-amt.service';
import { deleteEndpoint } from '@/portainer/environments/environment.service';
import { deleteEndpoint } from '@/react/portainer/environments/environment.service';
import { Button } from '@@/buttons';
import { Link } from '@@/Link';