Stop loading spinner on error of issuable templates
This commit is contained in:
parent
ba02e3a5df
commit
a3c3878957
2 changed files with 6 additions and 1 deletions
|
@ -32,8 +32,8 @@ export default class IssuableTemplateSelector extends TemplateSelector {
|
|||
this.startLoadingSpinner();
|
||||
Api.issueTemplate(this.namespacePath, this.projectPath, query.name, this.issuableType, (err, currentTemplate) => {
|
||||
this.currentTemplate = currentTemplate;
|
||||
if (err) return; // Error handled by global AJAX error handler
|
||||
this.stopLoadingSpinner();
|
||||
if (err) return; // Error handled by global AJAX error handler
|
||||
this.setInputValueToTemplateContent();
|
||||
});
|
||||
return;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Stop loading spinner on error of issuable templates
|
||||
merge_request: 16600
|
||||
author: Takuya Noguchi
|
||||
type: fixed
|
Loading…
Reference in a new issue