evcc-io/assets/js/components/Config/DeviceModal/DeviceInfoButton.vue
Maschga 7f772bad73
Config UI: make messengers configurable (#26946)
Co-authored-by: andig <cpuidle@gmail.com>
Co-authored-by: andig <andi@evcc.io>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Michael Geers <michael@geers.tv>
2026-02-17 12:26:03 +01:00

35 lines
674 B
Vue

<template>
<div class="dropdown dropdown-center">
<button
type="button"
class="btn btn-link evcc-default-text p-0"
data-bs-toggle="dropdown"
aria-expanded="false"
>
<shopicon-regular-info></shopicon-regular-info>
</button>
<ul class="dropdown-menu">
<li>
<span class="dropdown-item-text font-monospace"> db:{{ id }} </span>
</li>
</ul>
</div>
</template>
<script>
import { defineComponent } from "vue";
import "@h2d2/shopicons/es/regular/info";
export default defineComponent({
name: "DeviceInfoButton",
props: {
id: { type: Number, required: true },
},
});
</script>
<style scoped>
.dropdown-menu {
min-width: auto;
}
</style>