mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
Fix some "back" or "close" actions
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
</button>
|
||||
|
||||
<button on:click={() => dispatch('close')} class="text">
|
||||
Cancel
|
||||
Back
|
||||
</button>
|
||||
{/if}
|
||||
</span>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</script>
|
||||
|
||||
{#if owner}
|
||||
<svelte:component this={modal} {owner} {config} on:close={() => navigate('/')} />
|
||||
<svelte:component this={modal} {owner} {config} on:close={() => window.history.back()} />
|
||||
{:else}
|
||||
<Error on:close={() => window.history.back()}>
|
||||
Not connected.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
let registration: Registration | null = null;
|
||||
let name: string | null = null;
|
||||
|
||||
const back = () => navigate("/orgs");
|
||||
const back = () => window.history.back();
|
||||
|
||||
onMount(async () => {
|
||||
name = await config.provider.lookupAddress(address);
|
||||
|
||||
Reference in New Issue
Block a user