ui: Bind new subdomain button

This commit is contained in:
nemunaire 2023-01-11 10:52:07 +01:00
parent 692f9e0507
commit 7a1b327ca1
2 changed files with 5 additions and 2 deletions

View File

@ -37,7 +37,7 @@
aliases = tmp;
}
let newSubdomainModalOpened = false;
export let newSubdomainModalOpened = false;
let subdomainModal = "";
let newAliasModalOpened = false;

View File

@ -56,8 +56,9 @@
let showSubdomainsList = false;
let newSubdomainModalOpened = false;
function addSubdomain() {
newSubdomainModalOpened = true;
}
</script>
@ -91,6 +92,7 @@
{showSubdomainsList}
{sortedDomains}
{zone}
bind:newSubdomainModalOpened={newSubdomainModalOpened}
on:update-zone-services={(event) => zone = event.detail}
/>
</Col>
@ -102,6 +104,7 @@
>
<div class="d-flex gap-2 pb-2 sticky-top bg-light" style="padding-top: 10px">
<Button
type="button"
color="secondary"
outline
size="sm"