Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: update slow log filter layout (#5595)
Liu Ji2fa2a37e6920
diff --git a/frontend/src/components/SlowQuery/Panel/LogFilter.vue b/frontend/src/components/SlowQuery/Panel/LogFilter.vueindex dbe48f782c..35f1449730 100644--- a/frontend/src/components/SlowQuery/Panel/LogFilter.vue+++ b/frontend/src/components/SlowQuery/Panel/LogFilter.vue@@ -1,7 +1,12 @@<template><div class="mb-2 space-y-2">- <div class="flex items-center gap-x-4 h-[34px]">- <NInputGroup style="width: auto">+ <div+ v-if="+ filterTypes.includes('project') || filterTypes.includes('environment')+ "+ class="flex items-center gap-x-4"+ >+ <div class="flex-1 flex items-center gap-x-4"><ProjectSelectv-if="filterTypes.includes('project')":project="params.project?.id ?? UNKNOWN_ID"@@ -10,6 +15,24 @@:disabled="loading"@update:project="changeProjectId"/>++ <EnvironmentTabFilter+ v-if="filterTypes.includes('environment')"+ class="flex-1"+ :environment="params.environment?.id ?? UNKNOWN_ID"+ :include-all="true"+ :disabled="loading"+ @update:environment="changeEnvironmentId"+ />+ </div>++ <div class="flex items-center justify-end">+ <slot name="suffix" />+ </div>+ </div>++ <div class="flex items-center gap-x-4">+ <NInputGroup class="flex-1"><InstanceSelectv-if="filterTypes.includes('instance')":instance="params.instance?.id ?? UNKNOWN_ID"@@ -42,19 +65,16 @@/></NInputGroup>- <div class="flex-1 flex items-center justify-end">+ <div+ v-if="+ !filterTypes.includes('project') &&+ !filterTypes.includes('environment')+ "+ class="flex items-center justify-end"+ ><slot name="suffix" /></div></div>-- <div v-if="filterTypes.includes('environment')">- <EnvironmentTabFilter- :environment="params.environment?.id ?? UNKNOWN_ID"- :include-all="true"- :disabled="loading"- @update:environment="changeEnvironmentId"- />- </div></div></template><script lang="ts" setup>