Fix types

This commit is contained in:
Adria Navarro 2025-02-03 13:48:20 +01:00
parent 8c538676aa
commit 20c17f1065
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
<script lang="ts">
import type { UIComponentError } from "@budibase/types"
import {
componentStore,
screenComponentErrorList,
@ -9,7 +10,7 @@
let button: any
let popover: any
function getErrorTitle(error: any) {
function getErrorTitle(error: UIComponentError) {
const titleParts = [$screenComponents[error.componentId]._instanceName]
if (error.errorType === "setting") {
titleParts.push(error.key)