fix: wrong condition in h2 warning alert (#6526)

#### What type of PR is this?

/area ui
/kind bug
/milestone 2.19.0

#### What this PR does / why we need it:

修复 H2 数据库提示判断有误的问题。

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/6525/head^2
Ryan Wang 2024-08-26 23:55:15 +08:00 committed by GitHub
parent ef37aa794b
commit ab6c20a204
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ const { data: info } = useQuery<Info>({
</script>
<template>
<VAlert
v-if="!info?.database.name.startsWith('H2')"
v-if="info?.database.name.startsWith('H2')"
class="mt-3"
type="warning"
:title="$t('core.components.h2_warning_alert.title')"