summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/components/repo_commit_section.vue
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-04-16 16:29:34 +0100
committerPhil Hughes <me@iamphill.com>2018-04-18 14:34:50 +0100
commit8de5cea076b0bc40e84f13a7b936cb06cb39f291 (patch)
tree86146f14448ee3da46ec48737fabbdb35458caca /app/assets/javascripts/ide/components/repo_commit_section.vue
parentbdc437fc7620c285784d532d907811dc4ea378da (diff)
downloadgitlab-ce-8de5cea076b0bc40e84f13a7b936cb06cb39f291.tar.gz
moved CSS out of the components
hooked up commit section to activity bar fixed commit section SVGs not loading added the different theme defintions to the activity bar
Diffstat (limited to 'app/assets/javascripts/ide/components/repo_commit_section.vue')
-rw-r--r--app/assets/javascripts/ide/components/repo_commit_section.vue12
1 files changed, 2 insertions, 10 deletions
diff --git a/app/assets/javascripts/ide/components/repo_commit_section.vue b/app/assets/javascripts/ide/components/repo_commit_section.vue
index 14673754503..8639912b877 100644
--- a/app/assets/javascripts/ide/components/repo_commit_section.vue
+++ b/app/assets/javascripts/ide/components/repo_commit_section.vue
@@ -21,16 +21,6 @@ export default {
directives: {
tooltip,
},
- props: {
- noChangesStateSvgPath: {
- type: String,
- required: true,
- },
- committedStateSvgPath: {
- type: String,
- required: true,
- },
- },
computed: {
...mapState([
'currentProjectId',
@@ -38,6 +28,8 @@ export default {
'rightPanelCollapsed',
'lastCommitMsg',
'changedFiles',
+ 'noChangesStateSvgPath',
+ 'committedStateSvgPath',
]),
...mapState('commit', ['commitMessage', 'submitCommitLoading']),
...mapGetters('commit', ['commitButtonDisabled', 'discardDraftButtonDisabled', 'branchName']),