mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
refactor: 🎨 Refactor notes, event system and timelines
This commit is contained in:
parent
7461478170
commit
0f214b6a17
18 changed files with 266 additions and 188 deletions
|
|
@ -119,22 +119,15 @@ watch(
|
|||
useParsedContent(
|
||||
props.account?.note ?? "",
|
||||
props.account?.emojis ?? [],
|
||||
[],
|
||||
).value ?? "";
|
||||
parsedFields.value =
|
||||
props.account?.fields.map((field) => ({
|
||||
name:
|
||||
useParsedContent(
|
||||
field.name,
|
||||
props.account?.emojis ?? [],
|
||||
[],
|
||||
).value ?? "",
|
||||
useParsedContent(field.name, props.account?.emojis ?? [])
|
||||
.value ?? "",
|
||||
value:
|
||||
useParsedContent(
|
||||
field.value,
|
||||
props.account?.emojis ?? [],
|
||||
[],
|
||||
).value ?? "",
|
||||
useParsedContent(field.value, props.account?.emojis ?? [])
|
||||
.value ?? "",
|
||||
})) ?? [];
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue