From d1c664fafbbb08ef827f49b2b69ad7cb6ab3efe7 Mon Sep 17 00:00:00 2001
From: Daniel Supernault
Date: Mon, 7 Sep 2020 12:43:35 -0600
Subject: [PATCH] Update Profile component, make modals scrollable
---
resources/assets/js/components/Profile.vue | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/resources/assets/js/components/Profile.vue b/resources/assets/js/components/Profile.vue
index 6593d690..f002b5c0 100644
--- a/resources/assets/js/components/Profile.vue
+++ b/resources/assets/js/components/Profile.vue
@@ -140,7 +140,7 @@
{{profile.display_name}}
- {{truncate(profile.website,24)}}
+ {{truncate(profile.website,24)}}
@@ -372,6 +372,7 @@
id="following-modal"
hide-footer
centered
+ scrollable
title="Following"
body-class="list-group-flush py-3 px-0"
dialog-class="follow-modal">
@@ -429,6 +430,7 @@
id="follower-modal"
hide-footer
centered
+ scrollable
title="Followers"
body-class="list-group-flush py-3 px-0"
dialog-class="follow-modal"
@@ -902,6 +904,11 @@
return;
},
+ remoteRedirect(url) {
+ window.location.href = window.App.config.site.url + '/i/redirect?url=' + encodeURIComponent(url);
+ return;
+ },
+
replyUrl(status) {
let username = this.profile.username;
let id = status.account.id == this.profile.id ? status.id : status.in_reply_to_id;