Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix(announcement): only display text when link does not exist (#8025)
zll600bec3ab78ae0b
diff --git a/frontend/src/views/BannerAnnouncement.vue b/frontend/src/views/BannerAnnouncement.vueindex ed40e9723b..0e1d62f658 100644--- a/frontend/src/views/BannerAnnouncement.vue+++ b/frontend/src/views/BannerAnnouncement.vue@@ -1,17 +1,19 @@<template><divv-if="showBanner"- class="max-auto py-1 px-3 w-full flex flex-row justify-center flex-wrap"+ class="max-auto py-1 px-3 w-full flex flex-row justify-center flex-wrap text-center text-white font-medium":class="[`${bgColor}`]"><a+ v-if="announcementLink !== ''":href="announcementLink"target="_blank"- class="font-medium text-center text-white hover:underline flex flex-row items-center"+ class="hover:underline flex flex-row items-center"><p class="px-1">{{ announcementText }}</p><heroicons-solid:arrow-long-right class="mr-3 w-5 h-5" /></a>+ <p v-else>{{ announcementText }}</p></div></template>