Skip to content

Commit

Permalink
snoop action not shown always
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Oct 12, 2024
1 parent 58dd4a7 commit cae6caf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dynamic-mapping-ui/src/mapping/grid/mapping.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,14 @@ export class MappingComponent implements OnInit, OnDestroy {
showIf: (item) =>
item['mapping']['direction'] === Direction.INBOUND &&
item['snoopSupported'] &&
(item['mapping']['snoopStatus'] === SnoopStatus.NONE ||
(item['mapping']['snoopStatus'] === SnoopStatus.STARTED ||
item['mapping']['snoopStatus'] === SnoopStatus.ENABLED ||
item['mapping']['snoopStatus'] === SnoopStatus.STOPPED)
// showIf: (item) =>
// item['mapping']['direction'] === Direction.INBOUND &&
// item['snoopSupported'] &&
// (item['mapping']['snoopStatus'] === SnoopStatus.NONE ||
// item['mapping']['snoopStatus'] === SnoopStatus.STOPPED)
},
{
type: 'EXPORT',
Expand Down

0 comments on commit cae6caf

Please sign in to comment.