diff --git a/src/renderer/views/Channel/Channel.js b/src/renderer/views/Channel/Channel.js index a614027a6..f4e40824b 100644 --- a/src/renderer/views/Channel/Channel.js +++ b/src/renderer/views/Channel/Channel.js @@ -613,7 +613,7 @@ export default Vue.extend({ message: this.$t('Channel.Channel has been removed from your subscriptions') }) - if (this.activeProfile === MAIN_PROFILE_ID) { + if (this.activeProfile._id === MAIN_PROFILE_ID) { // Check if a subscription exists in a different profile. // Remove from there as well. let duplicateSubscriptions = 0 @@ -658,7 +658,7 @@ export default Vue.extend({ message: this.$t('Channel.Added channel to your subscriptions') }) - if (this.activeProfile !== MAIN_PROFILE_ID) { + if (this.activeProfile._id !== MAIN_PROFILE_ID) { const index = primaryProfile.subscriptions.findIndex((channel) => { return channel.id === this.id })