mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-28 17:50:28 +08:00
Update frontend dependencies
This commit is contained in:
@@ -2,22 +2,23 @@
|
||||
import type { ErrorWrapper } from "@bindings/error/ErrorWrapper";
|
||||
|
||||
import * as router from "@app/lib/router";
|
||||
import { createEventEmittersOnce } from "@app/lib/startup.svelte";
|
||||
import { invoke } from "@app/lib/invoke";
|
||||
|
||||
import debounce from "lodash/debounce";
|
||||
import Button from "@app/components/Button.svelte";
|
||||
import Icon from "@app/components/Icon.svelte";
|
||||
import TextInput from "@app/components/TextInput.svelte";
|
||||
import logo from "/radicle.svg?url";
|
||||
import { invoke } from "@app/lib/invoke";
|
||||
import { createEventEmittersOnce } from "@app/lib/startup.svelte";
|
||||
import { debounce } from "lodash";
|
||||
|
||||
let passphrase = $state("");
|
||||
let notMatchingPassphrases = $state<boolean>();
|
||||
let passphraseRepeat = $state("");
|
||||
let alias = $state("");
|
||||
const errors = $state<{ alias: ErrorWrapper[]; passphrase: ErrorWrapper[] }>({
|
||||
const errors: { alias: ErrorWrapper[]; passphrase: ErrorWrapper[] } = {
|
||||
alias: [],
|
||||
passphrase: [],
|
||||
});
|
||||
};
|
||||
|
||||
const validatePassphraseRepeat = debounce(() => {
|
||||
if (passphrase !== passphraseRepeat && passphraseRepeat.length !== 0) {
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
|
||||
<Layout publicKey={config.publicKey}>
|
||||
{#snippet sidebar()}
|
||||
<Sidebar activeTab={{ type: "issues", status }} rid={repo.rid} />
|
||||
<Sidebar activeTab="issues" rid={repo.rid} />
|
||||
{/snippet}
|
||||
|
||||
{#snippet secondColumn()}
|
||||
|
||||
@@ -355,7 +355,7 @@
|
||||
{/snippet}
|
||||
|
||||
{#snippet sidebar()}
|
||||
<Sidebar activeTab={{ type: "issues", status }} rid={repo.rid} />
|
||||
<Sidebar activeTab="issues" rid={repo.rid} />
|
||||
{/snippet}
|
||||
|
||||
{#snippet secondColumn()}
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
{/snippet}
|
||||
|
||||
{#snippet sidebar()}
|
||||
<Sidebar activeTab={{ type: "issues", status }} rid={repo.rid} />
|
||||
<Sidebar activeTab="issues" rid={repo.rid} />
|
||||
{/snippet}
|
||||
|
||||
{#snippet secondColumn()}
|
||||
|
||||
@@ -346,7 +346,7 @@
|
||||
{/snippet}
|
||||
|
||||
{#snippet sidebar()}
|
||||
<Sidebar activeTab={{ type: "patches", status }} rid={repo.rid} />
|
||||
<Sidebar activeTab="patches" rid={repo.rid} />
|
||||
{/snippet}
|
||||
|
||||
{#snippet secondColumn()}
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
{/snippet}
|
||||
|
||||
{#snippet sidebar()}
|
||||
<Sidebar activeTab={{ type: "patches", status }} rid={repo.rid} />
|
||||
<Sidebar activeTab="patches" rid={repo.rid} />
|
||||
{/snippet}
|
||||
|
||||
{#snippet secondColumn()}
|
||||
|
||||
Reference in New Issue
Block a user