1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 08:19:40 +02:00
portainer/app/react/edge/edge-devices/WaitingRoomView/Datatable/AssignmentDialog/utils.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
181 B
TypeScript
Raw Normal View History

import { Environment } from '@/react/portainer/environments/types';
export function isAssignedToGroup(environment: Environment) {
return ![0, 1].includes(environment.GroupId);
}