mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
refactor(editor): Move editor-ui and design-system to frontend dir (no-changelog) (#13564)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<script setup lang="ts">
|
||||
import TitledList from '@/components/TitledList.vue';
|
||||
import { useI18n } from '@/composables/useI18n';
|
||||
import { N8nTooltip, N8nIcon } from '@n8n/design-system';
|
||||
|
||||
defineProps<{
|
||||
issues: string[];
|
||||
}>();
|
||||
|
||||
const i18n = useI18n();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div v-if="issues.length" :class="$style['parameter-issues']" data-test-id="parameter-issues">
|
||||
<N8nTooltip placement="top">
|
||||
<template #content>
|
||||
<TitledList :title="`${i18n.baseText('parameterInput.issues')}:`" :items="issues" />
|
||||
</template>
|
||||
<N8nIcon icon="exclamation-triangle" />
|
||||
</N8nTooltip>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style module lang="scss">
|
||||
.parameter-issues {
|
||||
text-align: right;
|
||||
float: right;
|
||||
color: var(--color-danger-light);
|
||||
font-size: var(--font-size-s);
|
||||
padding-left: var(--spacing-3xs);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user