Stop loading spinner on error of milestone update on issue

This commit is contained in:
Takuya Noguchi 2018-03-04 20:15:43 +09:00
parent 8a0052c037
commit bb216e2b7c
2 changed files with 8 additions and 0 deletions

View file

@ -216,6 +216,9 @@ export default class MilestoneSelect {
$value.html(milestoneLinkNoneTemplate); $value.html(milestoneLinkNoneTemplate);
return $sidebarCollapsedValue.find('span').text('No'); return $sidebarCollapsedValue.find('span').text('No');
} }
})
.catch(() => {
$loading.fadeOut();
}); });
} }
} }

View file

@ -0,0 +1,5 @@
---
title: Stop loading spinner on error of milestone update on issue
merge_request: 17507
author: Takuya Noguchi
type: fixed