Commit 9f64813f authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

fix: lint and display icon on snackbar

parent cce896db
......@@ -206,9 +206,7 @@ export abstract class SharedSearchableAbstractContentPresentational<TResource ex
if (isNullOrUndefined(value) || isEmptyString(value)) {
return valueElement;
}
return valueElement.replace(new RegExp(value, "gi"), match => {
return `<span class="highlight-text">${match}</span>`;
});
return valueElement.replace(new RegExp(value, "gi"), match => `<span class="highlight-text">${match}</span>`);
}
}
......
......@@ -12,7 +12,7 @@
flex: 1;
.icon {
padding: 0 10px;
margin: 0 10px;
&.success {
color: $success;
......
Supports Markdown
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