Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Use <a> instead of <div> in profile dropdown, otherwise the click event won’t trigger
Tianzhou Chen5e6c132649c9
diff --git a/frontend/src/components/ProfileDropdown.vue b/frontend/src/components/ProfileDropdown.vueindex f35658a8f7..eba5aa7b6f 100644--- a/frontend/src/components/ProfileDropdown.vue+++ b/frontend/src/components/ProfileDropdown.vue@@ -20,25 +20,25 @@v-if="currentUser.attributes.email != '[email protected]'"class="py-1">- <div+ <a@click.prevent="switchToDBA"class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"role="menuitem">Switch to DBA- </div>+ </a></div><divv-if="currentUser.attributes.email != '[email protected]'"class="py-1">- <div+ <a@click.prevent="switchToDeveloper"class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"role="menuitem">Switch to Dev- </div>+ </a></div><div class="border-t border-gray-100"></div></div>