diff --git a/packages/design-system/src/components/N8nButton/Button.vue b/packages/design-system/src/components/N8nButton/Button.vue index 591f4910f0..b806823353 100644 --- a/packages/design-system/src/components/N8nButton/Button.vue +++ b/packages/design-system/src/components/N8nButton/Button.vue @@ -109,7 +109,7 @@ export default { ...(props.fullWidth ? { width: "100%" } : {}), }; }, - getClass(props: { type: string; theme?: string }) { + getClass(props: { type: string; theme?: string }): string { return props.type === "text" ? "text" : `${props.type}-${props.theme || "primary"}`;