From 065242761ad9b1909e5bc29d16127bdaa221aecc Mon Sep 17 00:00:00 2001 From: resitdemir Date: Mon, 16 Oct 2023 11:50:38 +0000 Subject: [PATCH] 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 --- src/stores/neutron/port.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/stores/neutron/port.js b/src/stores/neutron/port.js index b5d9582c..828dfb95 100644 --- a/src/stores/neutron/port.js +++ b/src/stores/neutron/port.js @@ -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 {