Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-06-08 11:45:18 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2017-06-08 11:45:18 +0300
commitc24b70682448f23d7eb01853026cfe6abdf86190 (patch)
tree6e7d66be0f1d1f4c2fcbc6e6d281f3510402b70b /app/assets
parentf427bf42f178add4cc1eb0758be920b357846383 (diff)
Add tests when user has no direct acces to a group
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/groups/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/groups/index.js b/app/assets/javascripts/groups/index.js
index 5b7018153bf..ff601db2aa6 100644
--- a/app/assets/javascripts/groups/index.js
+++ b/app/assets/javascripts/groups/index.js
@@ -94,12 +94,12 @@ document.addEventListener('DOMContentLoaded', () => {
this.isLoading = false;
$.scrollTo(0);
- const currentPath = gl.utils.mergeUrlParams({ page: page }, window.location.href);
+ const currentPath = gl.utils.mergeUrlParams({ page }, window.location.href);
window.history.replaceState({
page: currentPath,
}, document.title, currentPath);
- this.updateGroups(response.json());
+ this.updateGroups(response.json());
this.updatePagination(response.headers);
})
.catch(this.handleErrorResponse);