mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat: NDV notify if community node has update (#17146)
Co-authored-by: Roman Davydchuk <roman.davydchuk@n8n.io>
This commit is contained in:
@@ -116,7 +116,10 @@ const scrollRight = () => scroll(50);
|
||||
@click="() => handleTabClick(option.value)"
|
||||
>
|
||||
<N8nIcon v-if="option.icon" :icon="option.icon" size="small" />
|
||||
<span v-if="option.label">{{ option.label }}</span>
|
||||
<span v-if="option.label" :class="$style.notificationContainer"
|
||||
>{{ option.label }}
|
||||
<div v-if="option.notification" :class="$style.notification"><div></div></div
|
||||
></span>
|
||||
</div>
|
||||
</N8nTooltip>
|
||||
</div>
|
||||
@@ -211,6 +214,26 @@ const scrollRight = () => scroll(50);
|
||||
font-weight: var(--font-weight-bold);
|
||||
}
|
||||
|
||||
.notificationContainer {
|
||||
display: flex;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.notification {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
right: -0.5em;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
div {
|
||||
height: 0.3em;
|
||||
width: 0.3em;
|
||||
background-color: var(--color-primary);
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.back {
|
||||
composes: tab;
|
||||
composes: button;
|
||||
|
||||
Reference in New Issue
Block a user