mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(editor): Workflows Diff UI (no-changelog) (#17452)
This commit is contained in:
committed by
GitHub
parent
f2ca2df90c
commit
9f45c284db
@@ -2,8 +2,8 @@
|
||||
import type { SimplifiedNodeType } from '@/Interface';
|
||||
import { getNodeIconSource, type NodeIconSource } from '@/utils/nodeIcon';
|
||||
import { N8nNodeIcon } from '@n8n/design-system';
|
||||
import { computed } from 'vue';
|
||||
import type { VersionNode } from '@n8n/rest-api-client/api/versions';
|
||||
import { computed } from 'vue';
|
||||
|
||||
type Props = {
|
||||
size?: number;
|
||||
@@ -72,7 +72,6 @@ const nodeTypeName = computed(() =>
|
||||
:type="iconType"
|
||||
:src="src"
|
||||
:name="iconName"
|
||||
:color="iconColor"
|
||||
:disabled="disabled"
|
||||
:size="size"
|
||||
:circle="circle"
|
||||
@@ -80,8 +79,13 @@ const nodeTypeName = computed(() =>
|
||||
:show-tooltip="showTooltip"
|
||||
:tooltip-position="tooltipPosition"
|
||||
:badge="badge"
|
||||
:class="$style.nodeIcon"
|
||||
@click="emit('click')"
|
||||
></N8nNodeIcon>
|
||||
</template>
|
||||
|
||||
<style lang="scss" module></style>
|
||||
<style lang="scss" module>
|
||||
.nodeIcon {
|
||||
--node-icon-color: var(--canvas-node-icon-color, v-bind(iconColor));
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user