summaryrefslogtreecommitdiff
path: root/spec/javascripts/vue_shared/components/commit_spec.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-10-15 10:02:40 +0100
committerPhil Hughes <me@iamphill.com>2018-10-15 10:02:40 +0100
commitff55aa7ebb8a54e5dceee845904a8c75b46b3f1b (patch)
tree08043dbad20b1742f79089825fdbdc23a3120d11 /spec/javascripts/vue_shared/components/commit_spec.js
parent05dd7f9718cdd74cfd20747e4bea534a1cba2ae1 (diff)
downloadgitlab-ce-ff55aa7ebb8a54e5dceee845904a8c75b46b3f1b.tar.gz
Fixed file templates not clearing in Web IDE
This fixes a bug where the file templates would not be cleared after changing the template type. Previously the templates would get pushed into the array creating a list of templates for the different types. This changes that by clearing the templates array when the template type gets changed. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52487
Diffstat (limited to 'spec/javascripts/vue_shared/components/commit_spec.js')
0 files changed, 0 insertions, 0 deletions