@idea-ionic/uncommon 8.11.1 → 8.11.3
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.
|
@@ -1017,6 +1017,7 @@ class IDEAOldAttachmentsComponent {
|
|
|
1017
1017
|
this._message = inject(IDEAMessageService);
|
|
1018
1018
|
this._tc = inject(IDEATinCanService);
|
|
1019
1019
|
this._api = inject(IDEAAWSAPIService);
|
|
1020
|
+
this._cd = inject(ChangeDetectorRef);
|
|
1020
1021
|
this._offline = inject(IDEAOfflineService);
|
|
1021
1022
|
this._translate = inject(IDEATranslationsService);
|
|
1022
1023
|
/**
|
|
@@ -1124,6 +1125,9 @@ class IDEAOldAttachmentsComponent {
|
|
|
1124
1125
|
this.removeAttachment(attachment);
|
|
1125
1126
|
this._message.error('IDEA_TEAMS.ATTACHMENTS.ERROR_UPLOADING_ATTACHMENT');
|
|
1126
1127
|
}
|
|
1128
|
+
finally {
|
|
1129
|
+
this._cd.markForCheck(); // zoneless: re-check after the awaited upload settles
|
|
1130
|
+
}
|
|
1127
1131
|
}
|
|
1128
1132
|
removeAttachment(attachment) {
|
|
1129
1133
|
const index = this.attachments().indexOf(attachment);
|
|
@@ -3593,6 +3597,7 @@ class IDEASentimentComponent {
|
|
|
3593
3597
|
this._env = inject(IDEAEnvironment);
|
|
3594
3598
|
this._API = inject(IDEAAWSAPIService);
|
|
3595
3599
|
this._translate = inject(IDEATranslationsService);
|
|
3600
|
+
this._cd = inject(ChangeDetectorRef);
|
|
3596
3601
|
this._offline = inject(IDEAOfflineService);
|
|
3597
3602
|
/**
|
|
3598
3603
|
* The input text.
|
|
@@ -3634,6 +3639,7 @@ class IDEASentimentComponent {
|
|
|
3634
3639
|
this.sentiment = null;
|
|
3635
3640
|
}
|
|
3636
3641
|
}
|
|
3642
|
+
this._cd.markForCheck(); // zoneless: re-check after the awaited detection settles
|
|
3637
3643
|
}
|
|
3638
3644
|
getColorBySentiment(sentiment) {
|
|
3639
3645
|
sentiment = sentiment || this.sentiment;
|