mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 12:44:07 -08:00
fix(editor): Remove item count from pinned data status icon in new canvas (no-changelog) (#10431)
This commit is contained in:
parent
6d698fd97d
commit
5754fe4ec4
|
@ -15,7 +15,7 @@ describe('CanvasNodeStatusIcons', () => {
|
|||
},
|
||||
});
|
||||
|
||||
expect(getByTestId('canvas-node-status-pinned')).toHaveTextContent('5');
|
||||
expect(getByTestId('canvas-node-status-pinned')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('should render correctly for a running node', () => {
|
||||
|
|
|
@ -7,7 +7,6 @@ import { useCanvasNode } from '@/composables/useCanvasNode';
|
|||
const nodeHelpers = useNodeHelpers();
|
||||
|
||||
const {
|
||||
pinnedDataCount,
|
||||
hasPinnedData,
|
||||
issues,
|
||||
hasIssues,
|
||||
|
@ -51,7 +50,6 @@ const hideNodeIssues = computed(() => false); // @TODO Implement this
|
|||
:class="[$style.status, $style.pinnedData]"
|
||||
>
|
||||
<FontAwesomeIcon icon="thumbtack" />
|
||||
<span v-if="pinnedDataCount > 1" :class="$style.count"> {{ pinnedDataCount }}</span>
|
||||
</div>
|
||||
<div v-else-if="executionStatus === 'unknown'">
|
||||
<!-- Do nothing, unknown means the node never executed -->
|
||||
|
|
Loading…
Reference in a new issue