mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2025-12-12 17:25:56 +00:00
- P2P Replication got more robust and stable. ### Breaking changes - Send configuration via Peer-to-Peer connection is not compatible with older versions.
16 lines
471 B
Svelte
16 lines
471 B
Svelte
<script lang="ts">
|
|
/**
|
|
* Info Panel to display key-value information from the port
|
|
* Mostly used in the Setting Dialogue
|
|
*/
|
|
import { type SveltePanelProps } from "./SveltePanel";
|
|
import InfoTable from "@lib/ui/components/InfoTable.svelte";
|
|
type Props = SveltePanelProps<{
|
|
info: Record<string, any>;
|
|
}>;
|
|
const { port }: Props = $props();
|
|
const info = $derived.by(() => $port?.info ?? {});
|
|
</script>
|
|
|
|
<InfoTable {info} />
|