diff options
author | Phil Hughes <me@iamphill.com> | 2019-05-16 11:18:52 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-05-20 13:26:09 +0300 |
commit | a3014debbd9435c90a86be398d33b1cd3453f10c (patch) | |
tree | e63a5fe927e896441a49085ee24d3621a6b401ab /app/assets/javascripts/repository/mixins | |
parent | 801309308e677e724c772fddb1b99b0012453395 (diff) |
Added table component for files listing
Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/61578
Diffstat (limited to 'app/assets/javascripts/repository/mixins')
-rw-r--r-- | app/assets/javascripts/repository/mixins/get_ref.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/assets/javascripts/repository/mixins/get_ref.js b/app/assets/javascripts/repository/mixins/get_ref.js new file mode 100644 index 00000000000..b06087d6f42 --- /dev/null +++ b/app/assets/javascripts/repository/mixins/get_ref.js @@ -0,0 +1,14 @@ +import getRef from '../queries/getRef.graphql'; + +export default { + apollo: { + ref: { + query: getRef, + }, + }, + data() { + return { + ref: '', + }; + }, +}; |