Skip to content

Commit

Permalink
Merge pull request #93 from Suwayomi/main
Browse files Browse the repository at this point in the history
open migrating manga
  • Loading branch information
Robonau authored Nov 17, 2023
2 parents df18158 + 94bae18 commit ceec329
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/routes/(app)/browse/globalsearch/GlobalSearchActions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
import { getModalStore } from '@skeletonlabs/skeleton';
import { langfilt } from '../BrowseStores';
import GlobalSearchLangfilterModal from './GlobalSearchLangfilterModal.svelte';
import { page } from '$app/stores';
import Tooltip from '$lib/components/Tooltip.svelte';
import IconWrapper from '$lib/components/IconWrapper.svelte';
export let rawSources: SourcesQuery['sources'] | undefined;
export let langs: Set<string>;
Expand All @@ -14,6 +17,16 @@

<div class="h-full flex">
<Search />
{#if $page.url.pathname.includes('/browse/migrate/manga/')}
<Tooltip tip="open migrating manga" class="cursor-pointer h-full hover:variant-glass-surface">
<a
class="aspect-square h-full w-auto"
href={$page.url.pathname.replace('/browse/migrate', '')}
>
<IconWrapper name="mdi:step-backward" class="w-auto h-full p-2" />
</a>
</Tooltip>
{/if}
<TooltipIconButton
on:click={() => {
modalStore.trigger({
Expand Down

0 comments on commit ceec329

Please sign in to comment.