Update qrcode_modal.html

This commit is contained in:
AKILA INDUNIL 2025-04-19 18:54:03 +05:30
parent 557a105133
commit ca901985f7

View file

@ -24,7 +24,7 @@
</template> </template>
<template v-for="(row, index) in qrModal.qrcodes"> <template v-for="(row, index) in qrModal.qrcodes">
<tr-qr-box class="qr-box"> <tr-qr-box class="qr-box">
<div style="display: flex; align-items: center; margin-bottom: 8px;"> <div :style="{ display: 'flex', alignItems: 'center', marginBottom: '8px' }">
<span>{{ i18n "useIPv4ForHost" }}: </span> <span>{{ i18n "useIPv4ForHost" }}: </span>
<button <button
type="button" type="button"
@ -32,7 +32,7 @@
:aria-checked="row.useIPv4" :aria-checked="row.useIPv4"
:class="['ant-switch', 'ant-switch-small', { 'ant-switch-checked': row.useIPv4 }]" :class="['ant-switch', 'ant-switch-small', { 'ant-switch-checked': row.useIPv4 }]"
@click="toggleIPv4(index)" @click="toggleIPv4(index)"
style="margin-left: 8px;"> :style="{ marginLeft: '8px' }">
<span class="ant-switch-inner"></span> <span class="ant-switch-inner"></span>
</button> </button>
</div> </div>