summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-07-05 15:54:37 +0100
committerPhil Hughes <me@iamphill.com>2019-07-05 15:54:37 +0100
commitfa790f5512c6a700239b395e81ecc2a45edd24fd (patch)
treef82098b6156c64b3f1bd6f889d1f2036753b2b40
parent821c2984192f09130a5c3146a25b3b1909375f30 (diff)
downloadgitlab-ce-fa790f5512c6a700239b395e81ecc2a45edd24fd.tar.gz
Fixed apollo caching of the root repository file listing
-rw-r--r--app/assets/javascripts/repository/components/table/index.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/repository/components/table/index.vue b/app/assets/javascripts/repository/components/table/index.vue
index 1e66ccbfa29..0d9e992e596 100644
--- a/app/assets/javascripts/repository/components/table/index.vue
+++ b/app/assets/javascripts/repository/components/table/index.vue
@@ -76,7 +76,7 @@ export default {
variables: {
projectPath: this.projectPath,
ref: this.ref,
- path: this.path,
+ path: this.path || '/',
nextPageCursor: this.nextPageCursor,
pageSize: PAGE_SIZE,
},