Add data-profile-id attribute to profile block on profile page
This commit is contained in:
parent
e888589105
commit
7baf094e14
2 changed files with 11 additions and 2 deletions
|
@ -1,5 +1,10 @@
|
|||
<template>
|
||||
<div class="post" :class="{ highlighted: highlighted }" :data-post-id="post.id" :id="post.id">
|
||||
<div
|
||||
class="post"
|
||||
:class="{ highlighted: highlighted }"
|
||||
:data-post-id="post.id"
|
||||
:id="post.id"
|
||||
>
|
||||
<div class="post-header">
|
||||
<a
|
||||
class="floating-avatar"
|
||||
|
|
|
@ -4,7 +4,11 @@
|
|||
<div class="not-found" v-if="!profile && !isLoading">
|
||||
Profile not found
|
||||
</div>
|
||||
<div class="profile-block" v-if="profile">
|
||||
<div
|
||||
class="profile-block"
|
||||
v-if="profile"
|
||||
:data-profile-id="profile.id"
|
||||
>
|
||||
<div class="profile-header">
|
||||
<img v-if="profile.header" :src="profile.header">
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue