diff --git a/biome.json b/biome.json
index 1680a2546f..aef7377b19 100644
--- a/biome.json
+++ b/biome.json
@@ -19,7 +19,8 @@
"rules": {
"style": {
"useImportType": "warn",
- "useShorthandFunctionType": "warn"
+ "useShorthandFunctionType": "warn",
+ "useTemplate": "warn"
}
}
}
diff --git a/packages/client/src/components/global/MkPageHeader.vue b/packages/client/src/components/global/MkPageHeader.vue
index 83b8ceaa0e..5525780a9f 100644
--- a/packages/client/src/components/global/MkPageHeader.vue
+++ b/packages/client/src/components/global/MkPageHeader.vue
@@ -3,8 +3,8 @@
v-if="show"
ref="el"
class="fdidabkb"
- :class="{ thin: thin_, tabs: tabs?.length > 0 }"
- :style="{ background: bg }"
+ :class="{ thin: thin_, tabs: isTabs(tabs)}"
+ :style="{ background: bg || undefined }"
@click="onClick"
>
@@ -70,14 +70,14 @@