Max author length for sub manage view
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { deleteUnsubscribe } from '$lib/Api';
|
||||
import { truncate } from '$lib/misc';
|
||||
import Fuse from 'fuse.js';
|
||||
import { activePage } from '../../../store';
|
||||
|
||||
@@ -47,9 +48,9 @@
|
||||
{#each subscriptions as sub}
|
||||
<article>
|
||||
<nav>
|
||||
<a href={`/channel/${sub.authorId}`}><h6>{sub.author}</h6></a>
|
||||
<a href={`/channel/${sub.authorId}`}><h6>{truncate(sub.author, 18)}</h6></a>
|
||||
<div class="max"></div>
|
||||
<button on:click={async () => unsubscribe(sub.authorId)} class="border"> Unsubscribe </button>
|
||||
<button on:click={async () => unsubscribe(sub.authorId)} class="border">Unsubscribe</button>
|
||||
</nav>
|
||||
</article>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user