diff --git a/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/attributes/+page.svelte b/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/attributes/+page.svelte index 6a1983486..acad8b897 100644 --- a/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/attributes/+page.svelte +++ b/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/attributes/+page.svelte @@ -169,10 +169,11 @@ - + { + on:click={(event) => { + toggle(event); showEdit = true; selectedAttribute = attribute; showDropdown[index] = false; @@ -182,7 +183,8 @@ {#if !isRelationship(attribute)} { + on:click={(event) => { + toggle(event); selectedAttribute = attribute; showCreateIndex = true; showDropdown[index] = false; @@ -193,10 +195,11 @@ {#if attribute.status !== 'processing'} { - selectedAttribute = attribute; + on:click={(event) => { + toggle(event); showDelete = true; showDropdown[index] = false; + selectedAttribute = attribute; trackEvent(Click.DatabaseAttributeDelete); }}> Delete