Skip to content

Commit

Permalink
chore: update post channels (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme authored Jan 13, 2025
1 parent 8e8080b commit 49c3231
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/CodemirrorEditor/EditorHeader/PostInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ async function prePost() {
markdown: ``,
accounts: [],
}
const accounts = allAccounts.value.filter(a => !['weixin', 'ipfs'].includes(a.type))
try {
auto = {
thumb: document.querySelector<HTMLImageElement>(`#output img`)?.src ?? ``,
Expand All @@ -42,7 +43,7 @@ async function prePost() {
desc: document.querySelector(`#output p`)!.textContent ?? ``,
content: output.value,
markdown: editor.value?.getValue() ?? ``,
accounts: allAccounts.value,
accounts,
}
}
catch (error) {
Expand Down

0 comments on commit 49c3231

Please sign in to comment.