Skip to content
Snippets Groups Projects
Commit 9f64813f authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

fix: lint and display icon on snackbar

parent cce896db
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment