misc: expose time edited on hover, close #406
This commit is contained in:
5 files changed
+36
-15
No files matched your search
@@ -1,15 +1,9 @@
|
||||
<script>
|
||||
import { notifications } from '$lib/auth.svelte'
|
||||
import Tabs from '$lib/components/ui/layout/pages/Tabs.svelte'
|
||||
import {} from '$lib/components/ui/layout/Shell.svelte'
|
||||
import { t } from '$lib/i18n/translations'
|
||||
import { Badge } from 'mono-svelte'
|
||||
/**
|
||||
* @typedef {Object} Props
|
||||
* @property {import('svelte').Snippet} [children]
|
||||
*/
|
||||
|
||||
/** @type {Props} */
|
||||
let { children } = $props()
|
||||
</script>
|
||||
|
||||
@@ -49,7 +43,6 @@
|
||||
name: $t('routes.admin.media.title'),
|
||||
},
|
||||
]}
|
||||
class="overflow-auto"
|
||||
/>
|
||||
{@render children?.()}
|
||||
</div>
|
||||
@@ -1,6 +1,9 @@
|
||||
import { profile } from '$lib/auth.svelte.js'
|
||||
import { getClient, site as siteStore } from '$lib/lemmy.svelte.js'
|
||||
import { error } from '@sveltejs/kit'
|
||||
|
||||
export async function load({ fetch }) {
|
||||
if (!profile.current.jwt) error(403)
|
||||
const site = siteStore
|
||||
|
||||
if (!site.data) {
|
||||
|
||||
Reference in new issue
Block a user