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>
|
<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">
|
<div class="post-header">
|
||||||
<a
|
<a
|
||||||
class="floating-avatar"
|
class="floating-avatar"
|
||||||
|
|
|
@ -4,7 +4,11 @@
|
||||||
<div class="not-found" v-if="!profile && !isLoading">
|
<div class="not-found" v-if="!profile && !isLoading">
|
||||||
Profile not found
|
Profile not found
|
||||||
</div>
|
</div>
|
||||||
<div class="profile-block" v-if="profile">
|
<div
|
||||||
|
class="profile-block"
|
||||||
|
v-if="profile"
|
||||||
|
:data-profile-id="profile.id"
|
||||||
|
>
|
||||||
<div class="profile-header">
|
<div class="profile-header">
|
||||||
<img v-if="profile.header" :src="profile.header">
|
<img v-if="profile.header" :src="profile.header">
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue