diff --git a/packages/client/src/pages/antenna-timeline.vue b/packages/client/src/pages/antenna-timeline.vue index 3306f8c76..32060fafb 100644 --- a/packages/client/src/pages/antenna-timeline.vue +++ b/packages/client/src/pages/antenna-timeline.vue @@ -44,14 +44,15 @@ const keymap = $computed(() => ({ t: focus, })); -async function timetravel() { - const { canceled, result: date } = await os.inputDate({ - title: i18n.ts.date, - }); - if (canceled) return; - - tlEl.timetravel(date); -} +// removed for iceshrimp.dev/iceshrimp/iceshrimp !551 +// async function timetravel() { +// const { canceled, result: date } = await os.inputDate({ +// title: i18n.ts.date, +// }); +// if (canceled) return; +// +// tlEl.timetravel(date); +// } function settings() { router.push(`/my/antennas/${props.antennaId}`); diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index 930a9635a..380bacc70 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -187,14 +187,15 @@ function saveSrc( }); } -async function timetravel(): Promise { - const { canceled, result: date } = await os.inputDate({ - title: i18n.ts.date, - }); - if (canceled) return; - - tlComponent.timetravel(date); -} +// removed for iceshrimp.dev/iceshrimp/iceshrimp !551 +// async function timetravel(): Promise { +// const { canceled, result: date } = await os.inputDate({ +// title: i18n.ts.date, +// }); +// if (canceled) return; +// +// tlComponent.timetravel(date); +// } function focus(): void { tlComponent.focus(); diff --git a/packages/client/src/pages/user-list-timeline.vue b/packages/client/src/pages/user-list-timeline.vue index b6e1127eb..74970ef0c 100644 --- a/packages/client/src/pages/user-list-timeline.vue +++ b/packages/client/src/pages/user-list-timeline.vue @@ -50,23 +50,25 @@ function settings() { router.push(`/my/lists/${props.listId}`); } -async function timetravel() { - const { canceled, result: date } = await os.inputDate({ - title: i18n.ts.date, - }); - if (canceled) return; - - tlEl.timetravel(date); -} +// removed for iceshrimp.dev/iceshrimp/iceshrimp !551 +// async function timetravel() { +// const { canceled, result: date } = await os.inputDate({ +// title: i18n.ts.date, +// }); +// if (canceled) return; +// +// tlEl.timetravel(date); +// } const headerActions = $computed(() => list ? [ - { - icon: "ph-calendar-blank ph-bold ph-lg", - text: i18n.ts.jumpToSpecifiedDate, - handler: timetravel, - }, + // removed for iceshrimp.dev/iceshrimp/iceshrimp !551 + // { + // icon: "ph-calendar-blank ph-bold ph-lg", + // text: i18n.ts.jumpToSpecifiedDate, + // handler: timetravel, + // }, { icon: "ph-gear-six ph-bold ph-lg", text: i18n.ts.settings,