File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
frontend/src/components/app/users Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 3535 class =" px-4 py-1 border rounded-xl mr-2 mt-2 text-gray-600 text-sm" >{{interest}}</h1 >
3636 </div >
3737 </div >
38- <div class =" text-center flex flex-col mx-auto p-8 border-b" >
38+ <div v-if = " avatarsUploaded() " class =" text-center flex flex-col mx-auto p-8 border-b" >
3939 <LikeButton
4040 v-if =" !likeButtons.superLikeClicked"
4141 v-bind:hasBeenClicked =" likeButtons.likeClicked"
@@ -120,6 +120,10 @@ export default {
120120 blocked: false ,
121121 }),
122122 methods: {
123+ avatarsUploaded () {
124+ return this .user .images .length > 0
125+ && this .$store .getters .getLoggedInUser .images .length > 0 ;
126+ },
123127 preferences () {
124128 if (this .user .orientation === ' heterosexual' && this .user .gender === ' male' ) {
125129 return ' women' ;
You can’t perform that action at this time.
0 commit comments