Update bundled corepack

This commit is contained in:
Crimekillz 2024-05-02 23:34:06 +02:00
parent 830d84dca7
commit d6cfba207a
5 changed files with 10 additions and 10 deletions

Binary file not shown.

View File

@ -623,7 +623,7 @@ export async function updateNote(value: string | IObject, resolver?: Resolver) {
text = await htmlToMfm(post.content, post.tag); text = await htmlToMfm(post.content, post.tag);
} }
const cw = post.sensitive && post.summary; const cw = post.summary === "" ? null : post.summary;
// File parsing // File parsing
const fileList = post.attachment const fileList = post.attachment

View File

@ -90,11 +90,11 @@ watch(
const headerActions = $computed(() => const headerActions = $computed(() =>
antenna antenna
? [ ? [
// { {
// icon: "ph-calendar-blank ph-bold ph-lg", icon: "ph-clock-counter-clockwise ph-bold ph-lg",
// text: i18n.ts.jumpToSpecifiedDate, text: i18n.ts.jumpToSpecifiedDate,
// handler: timetravel, handler: timetravel,
// }, },
{ {
icon: "ph-gear-six ph-bold ph-lg", icon: "ph-gear-six ph-bold ph-lg",
text: i18n.ts.settings, text: i18n.ts.settings,

View File

@ -214,14 +214,14 @@ const headerActions = $computed(() => [
text: i18n.ts.antennas, text: i18n.ts.antennas,
iconOnly: true, iconOnly: true,
handler: chooseAntenna, handler: chooseAntenna,
}/* **TODO: fix timetravel**, },
{ {
icon: 'ph-clock-counter-clockwise ph-bold ph-lg', icon: 'ph-clock-counter-clockwise ph-bold ph-lg',
title: i18n.ts.jumpToSpecifiedDate, title: i18n.ts.jumpToSpecifiedDate,
text: i18n.ts.jumpToSpecifiedDate, text: i18n.ts.jumpToSpecifiedDate,
iconOnly: true, iconOnly: true,
handler: timetravel, handler: timetravel,
}*/ }
]); ]);
const headerTabs = $computed(() => [ const headerTabs = $computed(() => [

View File

@ -63,7 +63,7 @@ const headerActions = $computed(() =>
list list
? [ ? [
{ {
icon: "ph-calendar-blank ph-bold ph-lg", icon: "ph-clock-counter-clockwise ph-bold ph-lg",
text: i18n.ts.jumpToSpecifiedDate, text: i18n.ts.jumpToSpecifiedDate,
handler: timetravel, handler: timetravel,
}, },