@sumaris-net/ngx-components 1.21.0-beta4 → 1.21.0-beta7
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.
- package/bundles/sumaris-net.ngx-components.umd.js +2 -5
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/social/job/job.service.js +1 -2
- package/esm2015/src/app/social/user-event/notification/user-event-notification.component.js +2 -5
- package/esm2015/src/app/social/user-event/user-event.service.js +1 -1
- package/fesm2015/sumaris-net.ngx-components.js +1 -5
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/social/user-event/user-event.service.d.ts +1 -1
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -30984,15 +30984,12 @@
|
|
|
30984
30984
|
});
|
|
30985
30985
|
UserEventNotificationComponent.prototype.ngOnInit = function () {
|
|
30986
30986
|
var _this = this;
|
|
30987
|
-
var _a;
|
|
30988
30987
|
if (isNil(this.userEventService)) {
|
|
30989
30988
|
console.warn(this._logPrefix + "No service injected");
|
|
30990
30989
|
this.disabled = true;
|
|
30991
30990
|
return;
|
|
30992
30991
|
}
|
|
30993
|
-
this._subscriptions.add(this.userEventService.watchAll(0, 10, 'creationDate', "desc"
|
|
30994
|
-
recipients: [(_a = this.accountService.person) === null || _a === void 0 ? void 0 : _a.pubkey]
|
|
30995
|
-
}).subscribe(function (value) {
|
|
30992
|
+
this._subscriptions.add(this.userEventService.watchAll(0, 10, 'creationDate', "desc").subscribe(function (value) {
|
|
30996
30993
|
var data = value.data;
|
|
30997
30994
|
if (_this.debug) {
|
|
30998
30995
|
console.debug(_this._logPrefix + "Receiving user events", data);
|
|
@@ -31367,7 +31364,7 @@
|
|
|
31367
31364
|
], exports.JobProgression);
|
|
31368
31365
|
|
|
31369
31366
|
var JobProgressionServiceToken = new i0.InjectionToken('JobProgressionService');
|
|
31370
|
-
var jobProgressionSubscription = core.gql(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["subscription UpdateJobProgression($id: Int!, $interval: Int){\n data: updateJobProgression(id: $id, interval: $interval) {\n id\n message\n current\n total\n
|
|
31367
|
+
var jobProgressionSubscription = core.gql(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["subscription UpdateJobProgression($id: Int!, $interval: Int){\n data: updateJobProgression(id: $id, interval: $interval) {\n id\n message\n current\n total\n }\n}"], ["subscription UpdateJobProgression($id: Int!, $interval: Int){\n data: updateJobProgression(id: $id, interval: $interval) {\n id\n message\n current\n total\n }\n}"])));
|
|
31371
31368
|
var JobProgressionService = /** @class */ (function (_super) {
|
|
31372
31369
|
__extends(JobProgressionService, _super);
|
|
31373
31370
|
function JobProgressionService(graphql, environment) {
|