feat(web): use timeline in geolocation manager (#21492)
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
import { authenticate } from '$lib/utils/auth';
|
||||
import { getFormatter } from '$lib/utils/i18n';
|
||||
import { getQueryValue } from '$lib/utils/navigation';
|
||||
import type { PageLoad } from './$types';
|
||||
|
||||
export const load = (async ({ url }) => {
|
||||
await authenticate(url);
|
||||
const partialDate = getQueryValue('date');
|
||||
const $t = await getFormatter();
|
||||
|
||||
return {
|
||||
partialDate,
|
||||
meta: {
|
||||
title: $t('manage_geolocation'),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user