Skip to content

Commit 424fd62

Browse files
asmccroot
andauthored
Update add_ip.php (hestiacp#3296)
Logic invertion for shared check box Co-authored-by: root <root@test.hestiacp.com>
1 parent 914435f commit 424fd62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/templates/pages/add_ip.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<form
2121
x-data="{
22-
showUserTable: <?= empty($v_dedicated) ? "false" : "true" ?>
22+
showUserTable: <?= empty($v_dedicated) ? "true" : "false" ?>
2323
}"
2424
id="vstobjects"
2525
name="v_add_ip"
@@ -57,7 +57,7 @@
5757
<?= _("Shared") ?>
5858
</label>
5959
</div>
60-
<div x-cloak x-show="showUserTable" id="usrtable">
60+
<div x-cloak x-show="!showUserTable" id="usrtable">
6161
<div class="u-mb10">
6262
<label for="v_owner" class="form-label"><?= _("Assigned user") ?></label>
6363
<select class="form-select" name="v_owner" id="v_owner">

0 commit comments

Comments
 (0)