mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 06:23:09 +02:00
clean up
This commit is contained in:
parent
d94380780f
commit
9dd0f8c39b
1 changed files with 0 additions and 13 deletions
|
@ -61,20 +61,7 @@ function settings() {
|
||||||
router.push(`/my/lists/${props.listId}`);
|
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
const headerActions = $computed(() => list ? [{
|
const headerActions = $computed(() => list ? [{
|
||||||
icon: 'ti ti-calendar-time',
|
|
||||||
text: i18n.ts.jumpToSpecifiedDate,
|
|
||||||
handler: timetravel,
|
|
||||||
}, {
|
|
||||||
icon: 'ti ti-settings',
|
icon: 'ti ti-settings',
|
||||||
text: i18n.ts.settings,
|
text: i18n.ts.settings,
|
||||||
handler: settings,
|
handler: settings,
|
||||||
|
|
Loading…
Reference in a new issue