mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(ingress): loading and ui fixes [EE-5132] (#9959)
This commit is contained in:
parent
e400c4dfc6
commit
d0ecf6c16b
10 changed files with 309 additions and 174 deletions
|
@ -177,8 +177,7 @@ export function useDeleteIngresses() {
|
|||
*/
|
||||
export function useIngressControllers(
|
||||
environmentId: EnvironmentId,
|
||||
namespace?: string,
|
||||
cacheTime?: number
|
||||
namespace?: string
|
||||
) {
|
||||
return useQuery(
|
||||
[
|
||||
|
@ -193,7 +192,6 @@ export function useIngressControllers(
|
|||
namespace ? getIngressControllers(environmentId, namespace) : [],
|
||||
{
|
||||
enabled: !!namespace,
|
||||
cacheTime,
|
||||
...withError('Unable to get ingress controllers'),
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue