misc: tweak error pages, fix #159

This commit is contained in:
Xyphyn committed 2023-09-27 15:25:22 -07:00
1 parent 1b4a80ded2
commit 29fa924cb3
3 files changed
+19 -8

No files matched your search

@@ -57,8 +57,8 @@
}
</script>
{#if data.community_blocks.length > 0 || data.person_blocks.length > 0}
{#if data.person_blocks.length > 0}
{#if data.community_blocks?.length > 0 || data.person_blocks?.length > 0}
{#if data.person_blocks?.length > 0}
<div>
<SectionTitle>Users</SectionTitle>
<EditableList let:action on:action={(i) => unblockUser(i.detail)}>
@@ -85,7 +85,7 @@
/>
{/if}
{#if data.community_blocks.length > 0}
{#if data.community_blocks?.length > 0}
<div>
<SectionTitle>Communities</SectionTitle>
<EditableList let:action on:action={(i) => unblockCommunity(i.detail)}>
+1 -1
View File
@@ -18,7 +18,7 @@
'/profile/blocks',
'/profile/password',
]}
optionNames={['User', 'Settings', 'Blocks', 'Password']}
optionNames={['User', 'Settings', 'Blocks', 'Login']}
selected={$page.url.pathname}
on:select={(e) => {
goto(e.detail)