Skip to content
Snippets Groups Projects
Commit 9eecfd85 authored by Antoine Gaudron-Desjardins's avatar Antoine Gaudron-Desjardins
Browse files

info button

parent 16f1e3cd
Branches
No related tags found
1 merge request!36info button
Pipeline #44011 passed
...@@ -88,6 +88,10 @@ export default function Messages({ place, infos }) { ...@@ -88,6 +88,10 @@ export default function Messages({ place, infos }) {
.then((res) => { .then((res) => {
setMessages(res.data); setMessages(res.data);
setLoading(false); setLoading(false);
if (!width && infos && res.data.length) {
let otherIcon = document.getElementById("comments-icon-left");
otherIcon.style.cssText = "border: 1px solid red";
}
}) })
.catch((e) => { .catch((e) => {
console.log(e); console.log(e);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment