From fa790f5512c6a700239b395e81ecc2a45edd24fd Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Fri, 5 Jul 2019 15:54:37 +0100 Subject: [PATCH] Fixed apollo caching of the root repository file listing --- app/assets/javascripts/repository/components/table/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, },