File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/renderer/components/data-settings Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ export default defineComponent({
160
160
this . primaryProfile . subscriptions = this . primaryProfile . subscriptions . concat ( profileObject . subscriptions )
161
161
this . primaryProfile . subscriptions = this . primaryProfile . subscriptions . filter ( ( sub , index ) => {
162
162
const profileIndex = this . primaryProfile . subscriptions . findIndex ( ( x ) => {
163
- return x . name === sub . name
163
+ return x . id === sub . id
164
164
} )
165
165
166
166
return profileIndex === index
@@ -176,7 +176,7 @@ export default defineComponent({
176
176
existingProfile . subscriptions = existingProfile . subscriptions . concat ( profileObject . subscriptions )
177
177
existingProfile . subscriptions = existingProfile . subscriptions . filter ( ( sub , index ) => {
178
178
const profileIndex = existingProfile . subscriptions . findIndex ( ( x ) => {
179
- return x . name === sub . name
179
+ return x . id === sub . id
180
180
} )
181
181
182
182
return profileIndex === index
@@ -189,7 +189,7 @@ export default defineComponent({
189
189
this . primaryProfile . subscriptions = this . primaryProfile . subscriptions . concat ( profileObject . subscriptions )
190
190
this . primaryProfile . subscriptions = this . primaryProfile . subscriptions . filter ( ( sub , index ) => {
191
191
const profileIndex = this . primaryProfile . subscriptions . findIndex ( ( x ) => {
192
- return x . name === sub . name
192
+ return x . id === sub . id
193
193
} )
194
194
195
195
return profileIndex === index
You can’t perform that action at this time.
0 commit comments