mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(editor): Add v1 banner (#6443)
This commit is contained in:
committed by
कारतोफ्फेलस्क्रिप्ट™
parent
85372aabdf
commit
0fe415add2
@@ -50,6 +50,10 @@ export default defineComponent({
|
||||
slim: {
|
||||
type: Boolean,
|
||||
},
|
||||
overrideIcon: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
classes(): string[] {
|
||||
@@ -61,6 +65,8 @@ export default defineComponent({
|
||||
];
|
||||
},
|
||||
getIcon(): string {
|
||||
if (this.overrideIcon) return this.icon;
|
||||
|
||||
if (Object.keys(CALLOUT_DEFAULT_ICONS).includes(this.theme)) {
|
||||
return CALLOUT_DEFAULT_ICONS[this.theme];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user