From e7b5a68daecd0aff0cc66666cb38c7971027a05a Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 28 Aug 2020 13:14:44 +0000 Subject: Add latest changes from gitlab-org/gitlab@13-3-stable-ee --- app/assets/javascripts/snippets/components/edit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/assets/javascripts') diff --git a/app/assets/javascripts/snippets/components/edit.vue b/app/assets/javascripts/snippets/components/edit.vue index 6e3a670dc38..0978fcc7f93 100644 --- a/app/assets/javascripts/snippets/components/edit.vue +++ b/app/assets/javascripts/snippets/components/edit.vue @@ -63,7 +63,7 @@ export default { return this.actions.length > 0; }, hasValidBlobs() { - return this.actions.every(x => x.filePath && x.content); + return this.actions.every(x => x.content); }, updatePrevented() { return this.snippet.title === '' || !this.hasValidBlobs || this.isUpdating; -- cgit v1.2.3