Skip to content

Commit 3b915b1

Browse files
Fix bug consul namespaces disappearing (#22789)
* use cached namespace list to show on tab switching * namespace list shows up after tab switching * add changelog
1 parent 1076e0e commit 3b915b1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/22789.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
ui: fixes the issue where namespaces where disappearing and Welcome to Namespace screen showed up after tab switching
3+
```

ui/packages/consul-ui/app/services/repository/nspace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default class NspaceService extends RepositoryService {
5757
if (!this.permissions.can('use nspaces')) {
5858
return [];
5959
}
60-
return super.findAll(...arguments).catch(() => []);
60+
return super.findAll(...arguments);
6161
}
6262

6363
@dataSource('/:partition/:ns/:dc/namespace/:id')

0 commit comments

Comments
 (0)