mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Improve commit modal user facing messaging (#12161)
This commit is contained in:
committed by
GitHub
parent
9180b46b52
commit
ad39243982
@@ -10,6 +10,7 @@ interface NoticeProps {
|
||||
theme?: 'success' | 'warning' | 'danger' | 'info';
|
||||
content?: string;
|
||||
fullContent?: string;
|
||||
compact?: boolean;
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<NoticeProps>(), {
|
||||
@@ -17,6 +18,7 @@ const props = withDefaults(defineProps<NoticeProps>(), {
|
||||
theme: 'warning',
|
||||
content: '',
|
||||
fullContent: '',
|
||||
compact: true,
|
||||
});
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -68,7 +70,7 @@ const onClick = (event: MouseEvent) => {
|
||||
<template>
|
||||
<div :id="id" :class="classes" role="alert" @click="onClick">
|
||||
<div class="notice-content">
|
||||
<N8nText size="small" :compact="true">
|
||||
<N8nText size="small" :compact="compact">
|
||||
<slot>
|
||||
<span
|
||||
:id="`${id}-content`"
|
||||
|
||||
Reference in New Issue
Block a user