mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-14 12:20:20 +00:00
This commit is contained in:
parent
bd5aa6652d
commit
0f0f06d6aa
3 changed files with 9 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.4.109",
|
||||
"version": "6.4.110",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.15.5",
|
||||
|
|
|
|||
|
|
@ -20,11 +20,11 @@
|
|||
REPEATING: 'Re-Watching'
|
||||
}
|
||||
|
||||
$: status = { value: list(media) ?? 'CURRENT', label: STATUS_LABELS[list(media) ?? 'CURRENT'] }
|
||||
$: score = { value: Number(_score(media) ?? 0), label: '' + (_score(media) ?? 0) }
|
||||
let status = { value: list(media) ?? 'CURRENT', label: STATUS_LABELS[list(media) ?? 'CURRENT'] }
|
||||
let score = { value: Number(_score(media) ?? 0), label: '' + (_score(media) ?? 0) }
|
||||
|
||||
$: progress = _progress(media) ?? 0
|
||||
$: repeat = _repeat(media) ?? 0
|
||||
let progress = _progress(media) ?? 0
|
||||
let repeat = _repeat(media) ?? 0
|
||||
|
||||
function deleteEntry () {
|
||||
authAggregator.delete(media)
|
||||
|
|
|
|||
|
|
@ -5,11 +5,10 @@
|
|||
import Share2 from 'lucide-svelte/icons/share-2'
|
||||
import { onDestroy } from 'svelte'
|
||||
|
||||
import EntryEditor from '../../../../lib/components/EntryEditor.svelte'
|
||||
|
||||
import type { LayoutData } from './$types'
|
||||
|
||||
import { goto, onNavigate } from '$app/navigation'
|
||||
import EntryEditor from '$lib/components/EntryEditor.svelte'
|
||||
import Anilist from '$lib/components/icons/Anilist.svelte'
|
||||
import MyAnimeList from '$lib/components/icons/MyAnimeList.svelte'
|
||||
import { bannerSrc, hideBanner } from '$lib/components/ui/banner'
|
||||
|
|
@ -122,7 +121,9 @@
|
|||
<div class='flex gap-2 items-center justify-center md:justify-start md:self-start w-full overflow-x-clip [&>*]:flex-shrink-0'>
|
||||
<div class='flex md:mr-3 w-full min-[380px]:w-[180px]'>
|
||||
<PlayButton size='default' {media} class='rounded-r-none w-full bg-custom select:!bg-custom-600 text-contrast' />
|
||||
<EntryEditor {media} />
|
||||
{#key media}
|
||||
<EntryEditor {media} />
|
||||
{/key}
|
||||
</div>
|
||||
<FavoriteButton {media} variant='secondary' size='icon' class='min-[380px]:-order-1 md:order-none select:!text-custom' />
|
||||
<BookmarkButton {media} variant='secondary' size='icon' class='min-[380px]:-order-2 md:order-none select:!text-custom' />
|
||||
|
|
|
|||
Loading…
Reference in a new issue