Commit bf122d94 authored by Bryce Johnson's avatar Bryce Johnson

Break up ternary onto multiple lines.

parent fa48646c
......@@ -12,7 +12,8 @@ export default class FilteredSearchServiceDesk extends gl.FilteredSearchManager
customRemovalValidator(token) {
const tokenValue = token.querySelector('.value-container');
return tokenValue ? tokenValue.getAttribute('data-original-value') !== `@${this.supportBotAttrs.username}` : true;
return tokenValue ?
tokenValue.getAttribute('data-original-value') !== `@${this.supportBotAttrs.username}` : true;
}
canEdit(tokenName) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment