mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(editor): Improve linting for component and prop names (no-changelog) (#8169)
This commit is contained in:
committed by
GitHub
parent
639afcd7a5
commit
68cff4c59e
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<n8n-route :to="to" :newWindow="newWindow" v-bind="$attrs" class="n8n-link">
|
||||
<N8nRoute :to="to" :new-window="newWindow" v-bind="$attrs" class="n8n-link">
|
||||
<span :class="$style[`${underline ? `${theme}-underline` : theme}`]">
|
||||
<n8n-text :size="size" :bold="bold">
|
||||
<N8nText :size="size" :bold="bold">
|
||||
<slot></slot>
|
||||
</n8n-text>
|
||||
</N8nText>
|
||||
</span>
|
||||
</n8n-route>
|
||||
</N8nRoute>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -14,7 +14,11 @@ import N8nText from '../N8nText';
|
||||
import N8nRoute from '../N8nRoute';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'n8n-link',
|
||||
name: 'N8nLink',
|
||||
components: {
|
||||
N8nText,
|
||||
N8nRoute,
|
||||
},
|
||||
props: {
|
||||
size: {
|
||||
type: String,
|
||||
@@ -41,10 +45,6 @@ export default defineComponent({
|
||||
['primary', 'danger', 'text', 'secondary'].includes(value),
|
||||
},
|
||||
},
|
||||
components: {
|
||||
N8nText,
|
||||
N8nRoute,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user