Compare commits
2
Commits
b27c4811da
...
d3f549c92f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3f549c92f | ||
|
|
bf64a3d30e |
@@ -77,12 +77,15 @@ function getSocialUrl(social) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const socials = props.actor.socials.slice(0, 10).map((social) => ({
|
||||
...social,
|
||||
handle: social.url
|
||||
? new URL(social.url).hostname
|
||||
: social.handle,
|
||||
}));
|
||||
const socials = props.actor.socials
|
||||
.filter((social) => social.platform)
|
||||
.slice(0, 10)
|
||||
.map((social) => ({
|
||||
...social,
|
||||
handle: social.url
|
||||
? new URL(social.url).hostname
|
||||
: social.handle,
|
||||
}));
|
||||
|
||||
const aliases = Object
|
||||
.entries(props.actor.aliases.reduce((acc, alias) => {
|
||||
|
||||
Generated
+2
-2
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "traxxx-web",
|
||||
"version": "0.57.10",
|
||||
"version": "0.57.11",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "0.57.10",
|
||||
"version": "0.57.11",
|
||||
"dependencies": {
|
||||
"@brillout/json-serializer": "^0.5.25",
|
||||
"@dicebear/collection": "7.0.5",
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@
|
||||
"overrides": {
|
||||
"vite": "$vite"
|
||||
},
|
||||
"version": "0.57.10",
|
||||
"version": "0.57.11",
|
||||
"imports": {
|
||||
"#/*": "./*.js"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user