Preserve originating views through detail navigation
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores';
|
||||
import { contextHref } from '$lib/navigation-context.js';
|
||||
import { onMount } from 'svelte';
|
||||
import { afterNavigate } from '$app/navigation';
|
||||
import Dialog from '$ui/components/primitives/Dialog.svelte';
|
||||
@@ -199,7 +201,7 @@
|
||||
{:else}
|
||||
<div class="rows">
|
||||
{#each visible.slice(0,limit) as a (a.id)}
|
||||
<a class="row" href="/plugins/{a.id}">
|
||||
<a class="row" href={contextHref(`/plugins/${a.id}`, $page.url)}>
|
||||
<div class="row-top">
|
||||
<span class="name">{a.name}</span>
|
||||
<Badge
|
||||
|
||||
Reference in New Issue
Block a user