Do not add all_projects = true when fetching ports

When go to the instance detail page it tries to fetch ports

with all_projects = true but its API does not contain all_projects

Change-Id: I6acd1fa5f2c8bb817f29f0e11b0908cf73c7653c
This commit is contained in:
resitdemir 2023-10-16 11:50:38 +00:00
parent 8be87ab24e
commit 065242761a

View File

@ -41,6 +41,13 @@ export class PortStore extends Base {
};
}
get paramsFunc() {
return (params) => {
const { all_projects, ...rest } = params;
return rest;
};
}
async detailDidFetch(item) {
const { network_id } = item;
try {