Commit 9bd1f5a1 authored by Bruna Pinos's avatar Bruna Pinos 🤸🏾
Browse files

Add a slash in touch link

parent fac2e061
Pipeline #36186 passed with stages
in 7 minutes and 11 seconds
......@@ -7,7 +7,7 @@ import { Client4 } from "mattermost-redux/client";
import Badge from "./Badge";
function ProfilePlus(props) {
const empty = { status: "", badges: [], url: "" };
const empty = { status: "", badges: [], url: '' };
const [user, setUser] = useState(empty);
useEffect(() => {
......@@ -37,7 +37,7 @@ function ProfilePlus(props) {
<div>
<hr class="divider divider--expanded" />
<div class="overflow--ellipsis text-nowrap">
<a href={user.url + props.user.username}>Touch profile</a>
<a href={user.url + props.user.username + '/'} target="_blank">Touch profile</a>
</div>
{/* Only render the bottom bar if there are no status */}
{user.status ? null : <hr class="divider divider--expanded" />}
......
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