@worktile/gantt 19.0.8-next.0 → 19.0.8-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2693,9 +2693,12 @@ class NgxGanttBarComponent extends GanttItemUpper {
2693
2693
  setContentBackground() {
2694
2694
  let style = { ...(this.item.barStyle || {}) };
2695
2695
  const contentElement = this.contentElementRef.nativeElement;
2696
+ const barElement = this.elementRef.nativeElement;
2697
+ if (this.item.barStyle && Object.prototype.hasOwnProperty.call(this.item.barStyle, 'visibility')) {
2698
+ barElement.style.visibility = this.item.barStyle?.visibility;
2699
+ }
2696
2700
  if (this.item.refs?.width) {
2697
2701
  const color = this.item.color || barBackground;
2698
- const barElement = this.elementRef.nativeElement;
2699
2702
  if (this.item.origin.start && this.item.origin.end) {
2700
2703
  style.background = color;
2701
2704
  style.borderRadius = '';