misc: redesign postvote
This commit is contained in:
1 parent
1e53cfa798
commit
88aca6991f
6 files changed
+43
-83
No files matched your search
@@ -16,7 +16,7 @@ export async function load({ params, fetch, url }) {
|
||||
return {
|
||||
sort: sort,
|
||||
page: page || 1,
|
||||
posts: client({ func: fetch }).getPosts({
|
||||
posts: await client({ func: fetch }).getPosts({
|
||||
limit: 40,
|
||||
community_name: params.name,
|
||||
page: page,
|
||||
|
||||
@@ -101,14 +101,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</Setting>
|
||||
<Setting>
|
||||
<span slot="title">Vote style</span>
|
||||
<MultiSelect
|
||||
options={[false, true]}
|
||||
optionNames={['Combined', 'Separate']}
|
||||
bind:selected={$userSettings.separateVotes}
|
||||
/>
|
||||
</Setting>
|
||||
<ToggleSetting
|
||||
bind:checked={$userSettings.openLinksInNewTab}
|
||||
title="Open posts in new tab"
|
||||
|
||||
Reference in new issue
Block a user