Fix: Show author name from ID

#1
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -380,7 +380,7 @@
380
  this.spaces = data.map(space => ({
381
  id: space.id,
382
  title: space.id.split('/').pop().replace(/-/g, ' ').replace(/\b\w/g, l => l.toUpperCase()),
383
- author: space.author,
384
  description: space.cardData?.short_description || 'No description available',
385
  likes: space.likes || 0,
386
  created: new Date(space.createdAt).getTime(),
 
380
  this.spaces = data.map(space => ({
381
  id: space.id,
382
  title: space.id.split('/').pop().replace(/-/g, ' ').replace(/\b\w/g, l => l.toUpperCase()),
383
+ author: space.id.split('/')[0],
384
  description: space.cardData?.short_description || 'No description available',
385
  likes: space.likes || 0,
386
  created: new Date(space.createdAt).getTime(),