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

View File

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

View File

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

View File

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