@arsedizioni/ars-utils 21.1.63 → 21.1.65
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/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +2 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +2 -0
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +1 -1
|
@@ -2494,10 +2494,11 @@ class ClipperService {
|
|
|
2494
2494
|
let channels = [];
|
|
2495
2495
|
this.loginInfo.channels?.forEach(n => {
|
|
2496
2496
|
const channelSubscription = this.loginInfo.context.channels.find(x => x.channel === n.channelId);
|
|
2497
|
+
n.isSuspended = channelSubscription?.isSuspended === true;
|
|
2497
2498
|
const channel = ClipperChannels.find(x => x.value === n.channelId);
|
|
2498
2499
|
if (channel) {
|
|
2499
2500
|
channel.disabled = !n.isActive;
|
|
2500
|
-
channel.suspended = n.isSuspended === true
|
|
2501
|
+
channel.suspended = n.isSuspended === true;
|
|
2501
2502
|
channel.active = n.isActive === true && n.isEnabled === true;
|
|
2502
2503
|
channels.push(channel);
|
|
2503
2504
|
}
|