Merge branch 'stable-2.16'
* stable-2.16:
Bazel: Add action_env setting for PATH
Upgrade bazlets to latest revision on stable-2.16
Upgrade bazlets to latest stable-2.15 to build with 2.15.9 API
Upgrade bazlets to latest stable-2.15 to build with 2.15.8 API
Upgrade bazlets to latest stable-2.14 to build with 2.14.18 API
Invalidate client repository cache after deletion operation
Change-Id: I062a28a525fbc8d8dd75b75ffe71e2ccb3dd87cd
diff --git a/gr-delete-repo/gr-delete-repo.js b/gr-delete-repo/gr-delete-repo.js
index 0ce69c4..8055070 100644
--- a/gr-delete-repo/gr-delete-repo.js
+++ b/gr-delete-repo/gr-delete-repo.js
@@ -55,6 +55,7 @@
return this.plugin.restApi().send(
this.action.method, endpoint, json, errFn)
.then(r => {
+ this.plugin.restApi().invalidateReposCache();
Gerrit.Nav.navigateToRelativeUrl('/admin/repos');
});
},