@hmcts/ccd-case-ui-toolkit 6.13.10-b → 6.13.10-c

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.
@@ -11516,10 +11516,12 @@
11516
11516
  var CaseFileViewFieldReadComponent = /** @class */ (function (_super) {
11517
11517
  __extends(CaseFileViewFieldReadComponent, _super);
11518
11518
  function CaseFileViewFieldReadComponent() {
11519
- var _this = _super.apply(this, __spread(arguments)) || this;
11520
- _this.allowMoving = false;
11521
- return _this;
11519
+ return _super !== null && _super.apply(this, arguments) || this;
11522
11520
  }
11521
+ CaseFileViewFieldReadComponent.prototype.ngOnInit = function () {
11522
+ _super.prototype.ngOnInit.call(this);
11523
+ this.allowMoving = this.caseField.acls.some(function (acl) { return acl.update; });
11524
+ };
11523
11525
  return CaseFileViewFieldReadComponent;
11524
11526
  }(CaseFileViewFieldComponent));
11525
11527
  CaseFileViewFieldReadComponent.ɵfac = function CaseFileViewFieldReadComponent_Factory(t) { return ɵCaseFileViewFieldReadComponent_BaseFactory(t || CaseFileViewFieldReadComponent); };