1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 23:35:31 +02:00

fix(edge): show edge environment in edge views [EE-2997] (#6795)

This commit is contained in:
Chaim Lev-Ari 2022-04-26 14:25:20 +03:00 committed by GitHub
parent 141a530e28
commit bbb096412d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 92 additions and 29 deletions

View file

@ -21,10 +21,10 @@ export interface EnvironmentsQueryParams {
endpointIds?: EnvironmentId[];
tagsPartialMatch?: boolean;
groupIds?: EnvironmentGroupId[];
edgeDeviceFilter?: 'all' | 'trusted' | 'untrusted';
status?: EnvironmentStatus[];
sort?: string;
order?: 'asc' | 'desc';
edgeDeviceFilter?: 'all' | 'trusted' | 'untrusted' | 'none';
}
export async function getEndpoints(

View file

@ -132,6 +132,7 @@ export function EnvironmentList({ onClickItem, onRefresh }: Props) {
groupIds: groupFilter,
sort: sortByFilter,
order: sortByDescending ? 'desc' : 'asc',
edgeDeviceFilter: 'none',
},
true
);