mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-11 04:22:49 +00:00
18 lines
276 B
Svelte
18 lines
276 B
Svelte
<script>
|
|
import {serialPort} from "$lib/serial/connection"
|
|
import {LL} from "../../i18n/i18n-svelte"
|
|
</script>
|
|
|
|
{#if $serialPort}
|
|
<slot />
|
|
{:else}
|
|
<p>{$LL.deviceManager.NO_DEVICE()}</p>
|
|
{/if}
|
|
|
|
<style lang="scss">
|
|
p {
|
|
margin: auto;
|
|
opacity: 0.4;
|
|
}
|
|
</style>
|